@burdenoff/microfe-workspaces 2026.1119.1 → 2026.1121.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.
Files changed (64) hide show
  1. package/dist/WorkspacesRoutes.js +83 -59
  2. package/dist/components/ProjectCard.js +48 -47
  3. package/dist/constants/navigationV2.d.ts +5 -0
  4. package/dist/constants/navigationV2.js +2 -2
  5. package/dist/generated/global-operations.d.ts +11 -1
  6. package/dist/generated/global-types.d.ts +9866 -574
  7. package/dist/generated/wspace-operations.d.ts +171 -2
  8. package/dist/generated/wspace-operations.js +1088 -52
  9. package/dist/generated/wspace-types.d.ts +193797 -41883
  10. package/dist/hooks/v2/useWorkspacePagesV2Data.d.ts +89 -0
  11. package/dist/hooks/v2/useWorkspacePagesV2Data.js +211 -0
  12. package/dist/index.d.ts +1 -1
  13. package/dist/pages/ActivityListPage.js +2 -1
  14. package/dist/pages/MembersListPage.js +103 -100
  15. package/dist/pages/PendingInvitesPage.js +2 -1
  16. package/dist/pages/ProjectDetailPage.js +2 -1
  17. package/dist/pages/ProjectMembersPage.js +117 -115
  18. package/dist/pages/ProjectsListPage.js +235 -232
  19. package/dist/pages/WorkspaceDetailPage.js +2 -1
  20. package/dist/pages/WorkspaceInvitePage.js +3 -1
  21. package/dist/pages/WorkspacesListPage.js +2 -1
  22. package/dist/pages/dashboard/widgets/AgentsWidget.js +2 -1
  23. package/dist/pages/dashboard/widgets/GroupsWidget.js +2 -1
  24. package/dist/pages/dashboard/widgets/ProjectsWidget.js +3 -1
  25. package/dist/pages/dashboard/widgets/RecentActivityWidget.js +3 -1
  26. package/dist/pages/dashboard/widgets/SessionsWidget.js +2 -1
  27. package/dist/pages/dashboard/widgets/TagCloudWidget.js +2 -1
  28. package/dist/pages/dashboard/widgets/UpcomingEventsWidget.js +3 -1
  29. package/dist/pages/dashboard/widgets/VibesWidget.js +2 -1
  30. package/dist/pages/dashboard/widgets/WorkflowRunsWidget.js +3 -1
  31. package/dist/pages/dashboard/widgets/WorkflowStatsWidget.js +3 -1
  32. package/dist/pages/dashboard/widgets/WorkflowsOverviewWidget.js +3 -1
  33. package/dist/pages/dashboard/widgets/WorkspacesWidget.js +3 -1
  34. package/dist/pages/v2/ActivityPage.d.ts +1 -0
  35. package/dist/pages/v2/ActivityPage.js +150 -0
  36. package/dist/pages/v2/InvitePeopleDialog.d.ts +11 -0
  37. package/dist/pages/v2/InvitePeopleDialog.js +208 -0
  38. package/dist/pages/v2/InvitedTab.d.ts +9 -0
  39. package/dist/pages/v2/InvitedTab.js +223 -0
  40. package/dist/pages/v2/MembersPage.d.ts +1 -0
  41. package/dist/pages/v2/MembersPage.js +120 -0
  42. package/dist/pages/v2/PeopleTab.d.ts +20 -0
  43. package/dist/pages/v2/PeopleTab.js +253 -0
  44. package/dist/pages/v2/ProjectsPage.d.ts +1 -0
  45. package/dist/pages/v2/ProjectsPage.js +242 -0
  46. package/dist/pages/v2/WorkspacesPage.d.ts +3 -0
  47. package/dist/pages/v2/WorkspacesPage.js +247 -0
  48. package/dist/pages/v2/activitySentences.d.ts +50 -0
  49. package/dist/pages/v2/activitySentences.js +288 -0
  50. package/dist/pages/v2/inviteEmails.d.ts +12 -0
  51. package/dist/pages/v2/inviteEmails.js +18 -0
  52. package/dist/pages/v2/memberRows.d.ts +54 -0
  53. package/dist/pages/v2/memberRows.js +51 -0
  54. package/dist/pages/v2/projectRows.d.ts +10 -0
  55. package/dist/pages/v2/projectRows.js +10 -0
  56. package/dist/pages/v2/relativeTime.d.ts +6 -0
  57. package/dist/pages/v2/relativeTime.js +30 -0
  58. package/dist/store/workspacesStore.d.ts +2 -1
  59. package/dist/store/workspacesStore.js +1 -1
  60. package/dist/translations/en.d.ts +382 -0
  61. package/dist/translations/en.js +382 -0
  62. package/dist/types/index.d.ts +19 -0
  63. package/dist/utils/nativeBridge.js +1 -1
  64. package/package.json +3 -3
@@ -7,18 +7,18 @@ import { useWorkspacePermissions as a } from "../hooks/useWorkspacePermissions.j
7
7
  import { useWorkspacesContext as ee } from "../providers/WorkspacesProvider.js";
8
8
  import { formatRelativeTime as te } from "../utils/formatters.js";
9
9
  import { tWithFallback as o } from "../utils/i18n.js";
10
- import { nativeConfirm as s, nativeImpact as c, nativeNotify as l } from "../utils/nativeBridge.js";
11
- import { useWorkspacesPageView as ne } from "../hooks/useWorkspacesPageView.js";
10
+ import { nativeImpact as s, nativeNotify as c } from "../utils/nativeBridge.js";
11
+ import { useWorkspacesPageView as l } from "../hooks/useWorkspacesPageView.js";
12
12
  import { useMemo as u, useState as d } from "react";
13
- import { ArrowLeft as re, Search as ie, UserMinus as f, UserPlus as p } from "lucide-react";
14
- import { Badge as m, Button as h, IllustratedEmptyState as g, Input as _, PageContainer as v, PagePurpose as y, Skeleton as b } from "@burdenoff/fe-libs/ui";
15
- import { jsx as x, jsxs as S } from "react/jsx-runtime";
16
- import { useI18n as ae } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
17
- import { useNavigate as oe, useParams as se } from "react-router";
18
- import { ActorIdentity as ce, useActorProfiles as le } from "@burdenoff/fe-libs/shared";
13
+ import { ArrowLeft as ne, Search as re, UserMinus as f, UserPlus as p } from "lucide-react";
14
+ import { Badge as m, Button as h, IllustratedEmptyState as g, Input as _, PageContainer as v, PagePurpose as y, Skeleton as b, useConfirm as x } from "@burdenoff/fe-libs/ui";
15
+ import { jsx as S, jsxs as C } from "react/jsx-runtime";
16
+ import { useI18n as ie } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
17
+ import { useNavigate as ae, useParams as oe } from "react-router";
18
+ import { ActorIdentity as se, useActorProfiles as ce } from "@burdenoff/fe-libs/shared";
19
19
  // src/pages/ProjectMembersPage.tsx
20
- var ue = 100;
21
- function C(e, t) {
20
+ var le = 100;
21
+ function w(e, t) {
22
22
  let n = e[t.userId];
23
23
  return n ? {
24
24
  name: n.displayName,
@@ -28,198 +28,200 @@ function C(e, t) {
28
28
  email: void 0
29
29
  };
30
30
  }
31
- function w() {
32
- let { t: w } = ae(), de = oe(), { workspaceId: T, projectId: E } = se(), { basePath: D = "/workspaces", apiGatewayUrl: O, authToken: k, organizationId: A } = ee(), { withCurrentSearch: j } = i(), [M, N] = d(""), [P, F] = d(!1), [I, L] = d(null), [R, z] = d(null);
33
- ne("workspaces.project-members", {
34
- workspaceId: T,
35
- projectId: E,
31
+ function T() {
32
+ let { t: T } = ie(), ue = x(), de = ae(), { workspaceId: E, projectId: D } = oe(), { basePath: O = "/workspaces", apiGatewayUrl: k, authToken: A, organizationId: j } = ee(), { withCurrentSearch: M } = i(), [N, P] = d(""), [F, I] = d(!1), [L, R] = d(null), [z, B] = d(null);
33
+ l("workspaces.project-members", {
34
+ workspaceId: E,
35
+ projectId: D,
36
36
  requireParams: !0
37
37
  });
38
- let { data: B, isLoading: V, error: H } = n(E || "", T), { data: U, isLoading: fe, error: W, hasNextPage: G, fetchNextPage: K, isFetchingNextPage: q } = t(E || "", T, ue), { mutate: pe, isPending: J } = r(T), { canViewProject: me, canListProjectMembers: he, canAddProjectMember: Y, canRemoveProjectMember: ge, isLoading: _e } = a(), X = u(() => U?.pages.flatMap((e) => e.items) ?? [], [U?.pages]), Z = U?.pages[0]?.total ?? X.length, ve = u(() => X.map((e) => ({
38
+ let { data: V, isLoading: fe, error: H } = n(D || "", E), { data: U, isLoading: pe, error: W, hasNextPage: G, fetchNextPage: K, isFetchingNextPage: q } = t(D || "", E, le), { mutate: me, isPending: J } = r(E), { canViewProject: he, canListProjectMembers: ge, canAddProjectMember: Y, canRemoveProjectMember: _e, isLoading: ve } = a(), X = u(() => U?.pages.flatMap((e) => e.items) ?? [], [U?.pages]), Z = U?.pages[0]?.total ?? X.length, ye = u(() => X.map((e) => ({
39
39
  actorId: e.userId,
40
40
  actorType: "user"
41
- })), [X]), Q = le(ve, {
42
- apiGatewayUrl: O,
43
- authToken: k,
44
- orgId: A,
45
- workspaceId: T
41
+ })), [X]), Q = ce(ye, {
42
+ apiGatewayUrl: k,
43
+ authToken: A,
44
+ orgId: j,
45
+ workspaceId: E
46
46
  }), $ = u(() => {
47
- let e = M.trim().toLowerCase();
47
+ let e = N.trim().toLowerCase();
48
48
  return e ? X.filter((t) => {
49
- let n = C(Q, t);
49
+ let n = w(Q, t);
50
50
  return n.name.toLowerCase().includes(e) || n.email?.toLowerCase().includes(e) || t.userId.toLowerCase().includes(e);
51
51
  }) : X;
52
52
  }, [
53
53
  Q,
54
54
  X,
55
- M
55
+ N
56
56
  ]);
57
- if (_e) return /* @__PURE__ */ S("div", {
57
+ if (ve) return /* @__PURE__ */ C("div", {
58
58
  className: "space-y-4 p-6",
59
59
  children: [
60
- /* @__PURE__ */ x(b, { className: "h-10 w-40" }),
61
- /* @__PURE__ */ x(b, { className: "h-10 w-64" }),
62
- /* @__PURE__ */ x(b, { className: "h-40 w-full" })
60
+ /* @__PURE__ */ S(b, { className: "h-10 w-40" }),
61
+ /* @__PURE__ */ S(b, { className: "h-10 w-64" }),
62
+ /* @__PURE__ */ S(b, { className: "h-40 w-full" })
63
63
  ]
64
64
  });
65
- if (!me || !he) return /* @__PURE__ */ x("div", {
65
+ if (!he || !ge) return /* @__PURE__ */ S("div", {
66
66
  className: "flex min-h-[400px] items-center justify-center",
67
- children: /* @__PURE__ */ S("div", {
67
+ children: /* @__PURE__ */ C("div", {
68
68
  className: "space-y-2 text-center",
69
- children: [/* @__PURE__ */ x("h2", {
69
+ children: [/* @__PURE__ */ S("h2", {
70
70
  className: "text-lg font-semibold",
71
- children: o(w, "projectMembers.accessDenied", "Access Denied")
72
- }), /* @__PURE__ */ x("p", {
71
+ children: o(T, "projectMembers.accessDenied", "Access Denied")
72
+ }), /* @__PURE__ */ S("p", {
73
73
  className: "text-sm text-text-secondary",
74
- children: o(w, "projectMembers.noPermission", "You don't have permission to manage project members.")
74
+ children: o(T, "projectMembers.noPermission", "You don't have permission to manage project members.")
75
75
  })]
76
76
  })
77
77
  });
78
- let ye = () => {
79
- de(j(`${D}/${T}/projects/${E}`));
80
- }, be = async (e) => {
81
- let t = C(Q, e);
82
- c("medium"), z(null);
83
- let n = `${o(w, "projectMembers.removeConfirmPrefix", "Remove")} ${t.name} ${o(w, "projectMembers.removeConfirmSuffix", "from this project?")}`, r = await s({
84
- title: o(w, "projectMembers.removeConfirmTitle", "Remove project member"),
85
- message: n,
86
- okButtonTitle: o(w, "projectMembers.removeAction", "Remove"),
87
- cancelButtonTitle: o(w, "projectMembers.cancel", "Cancel")
88
- });
89
- (r === null ? window.confirm(n) : r) && (L(e.userId), pe({
78
+ let be = () => {
79
+ de(M(`${O}/${E}/projects/${D}`));
80
+ }, xe = async (e) => {
81
+ let t = w(Q, e);
82
+ s("medium"), B(null);
83
+ let n = `${o(T, "projectMembers.removeConfirmPrefix", "Remove")} ${t.name} ${o(T, "projectMembers.removeConfirmSuffix", "from this project?")}`;
84
+ await ue({
85
+ title: o(T, "projectMembers.removeConfirmTitle", "Remove project member"),
86
+ description: n,
87
+ tone: "danger",
88
+ confirmLabel: o(T, "projectMembers.removeAction", "Remove"),
89
+ cancelLabel: o(T, "projectMembers.cancel", "Cancel")
90
+ }) && (R(e.userId), me({
90
91
  projectId: e.projectId,
91
92
  userId: e.userId
92
93
  }, {
93
94
  onSuccess: () => {
94
- l("success"), L(null);
95
+ c("success"), R(null);
95
96
  },
96
97
  onError: () => {
97
- l("error"), z(o(w, "projectMembers.removeError", "Failed to remove project member. Please try again.")), L(null);
98
+ c("error"), B(o(T, "projectMembers.removeError", "Failed to remove project member. Please try again.")), R(null);
98
99
  }
99
100
  }));
100
101
  };
101
- return /* @__PURE__ */ x(v, {
102
+ return /* @__PURE__ */ S(v, {
102
103
  padded: !1,
103
- children: /* @__PURE__ */ S("div", {
104
+ children: /* @__PURE__ */ C("div", {
104
105
  className: "space-y-4 p-3 sm:space-y-6 sm:p-6",
105
106
  children: [
106
- /* @__PURE__ */ S("div", {
107
+ /* @__PURE__ */ C("div", {
107
108
  className: "flex flex-col gap-4 sm:flex-row sm:items-start sm:justify-between",
108
- children: [/* @__PURE__ */ S("div", { children: [
109
- /* @__PURE__ */ S(h, {
109
+ children: [/* @__PURE__ */ C("div", { children: [
110
+ /* @__PURE__ */ C(h, {
110
111
  variant: "ghost",
111
- onClick: ye,
112
+ onClick: be,
112
113
  className: "mb-2 -ml-2 gap-2",
113
- children: [/* @__PURE__ */ x(re, { size: 20 }), o(w, "projectMembers.backToProject", "Back to Project")]
114
+ children: [/* @__PURE__ */ S(ne, { size: 20 }), o(T, "projectMembers.backToProject", "Back to Project")]
114
115
  }),
115
- /* @__PURE__ */ x("h1", {
116
+ /* @__PURE__ */ S("h1", {
116
117
  className: "text-2xl font-bold sm:text-3xl",
117
- children: o(w, "projectMembers.pageTitle", "Project Members")
118
+ children: o(T, "projectMembers.pageTitle", "Project Members")
118
119
  }),
119
- /* @__PURE__ */ x("p", {
120
+ /* @__PURE__ */ S("p", {
120
121
  className: "text-sm text-text-secondary sm:text-base",
121
- children: B?.name ? `${B.name} · ${o(w, "projectMembers.pageSubtitle", "Only existing workspace members can be added to this project.")}` : o(w, "projectMembers.pageSubtitle", "Only existing workspace members can be added to this project.")
122
+ children: V?.name ? `${V.name} · ${o(T, "projectMembers.pageSubtitle", "Only existing workspace members can be added to this project.")}` : o(T, "projectMembers.pageSubtitle", "Only existing workspace members can be added to this project.")
122
123
  })
123
- ] }), /* @__PURE__ */ S("div", {
124
+ ] }), /* @__PURE__ */ C("div", {
124
125
  className: "flex items-center gap-2",
125
- children: [/* @__PURE__ */ x(m, {
126
+ children: [/* @__PURE__ */ S(m, {
126
127
  variant: "secondary",
127
128
  children: Z
128
- }), Y ? /* @__PURE__ */ S(h, {
129
- onClick: () => F(!0),
130
- disabled: !T || !E,
131
- children: [/* @__PURE__ */ x(p, { className: "mr-2 size-4" }), o(w, "projectMembers.addMember", "Add Member")]
129
+ }), Y ? /* @__PURE__ */ C(h, {
130
+ onClick: () => I(!0),
131
+ disabled: !E || !D,
132
+ children: [/* @__PURE__ */ S(p, { className: "mr-2 size-4" }), o(T, "projectMembers.addMember", "Add Member")]
132
133
  }) : null]
133
134
  })]
134
135
  }),
135
- /* @__PURE__ */ x(y, { children: o(w, "projectMembers.purpose", "This is the subset of workspace members who can work on this specific project. Add people here to give them project-level access, search to find someone, or remove members who have moved on. Only existing workspace members can be added.") }),
136
- /* @__PURE__ */ S("div", {
136
+ /* @__PURE__ */ S(y, { children: o(T, "projectMembers.purpose", "This is the subset of workspace members who can work on this specific project. Add people here to give them project-level access, search to find someone, or remove members who have moved on. Only existing workspace members can be added.") }),
137
+ /* @__PURE__ */ C("div", {
137
138
  className: "relative",
138
- children: [/* @__PURE__ */ x(ie, { className: "absolute left-3 top-1/2 size-4 -translate-y-1/2 text-text-secondary" }), /* @__PURE__ */ x(_, {
139
- value: M,
140
- onChange: (e) => N(e.target.value),
141
- placeholder: o(w, "projectMembers.searchPlaceholder", "Search project members"),
139
+ children: [/* @__PURE__ */ S(re, { className: "absolute left-3 top-1/2 size-4 -translate-y-1/2 text-text-secondary" }), /* @__PURE__ */ S(_, {
140
+ value: N,
141
+ onChange: (e) => P(e.target.value),
142
+ placeholder: o(T, "projectMembers.searchPlaceholder", "Search project members"),
142
143
  className: "pl-9"
143
144
  })]
144
145
  }),
145
- R ? /* @__PURE__ */ x("div", {
146
+ z ? /* @__PURE__ */ S("div", {
146
147
  className: "rounded-lg border border-status-error-border/20 bg-status-error-bg/10 p-4 text-sm text-status-error-text",
147
- children: R
148
+ children: z
148
149
  }) : null,
149
- V || fe ? /* @__PURE__ */ x("div", {
150
+ fe || pe ? /* @__PURE__ */ S("div", {
150
151
  className: "space-y-4",
151
- children: Array.from({ length: 4 }).map((e, t) => /* @__PURE__ */ S("div", {
152
+ children: Array.from({ length: 4 }).map((e, t) => /* @__PURE__ */ C("div", {
152
153
  className: "rounded-lg border border-border-seam bg-bg-surface p-4",
153
- children: [/* @__PURE__ */ x(b, { className: "h-5 w-40" }), /* @__PURE__ */ x(b, { className: "mt-2 h-4 w-56" })]
154
+ children: [/* @__PURE__ */ S(b, { className: "h-5 w-40" }), /* @__PURE__ */ S(b, { className: "mt-2 h-4 w-56" })]
154
155
  }, t))
155
- }) : H || W ? /* @__PURE__ */ x("div", {
156
+ }) : H || W ? /* @__PURE__ */ S("div", {
156
157
  className: "rounded-lg border border-status-error-border/20 bg-status-error-bg/10 p-4 text-sm text-status-error-text",
157
- children: W instanceof Error && W.message || H instanceof Error && H.message || o(w, "projectMembers.loadError", "Failed to load project members")
158
- }) : $.length === 0 ? /* @__PURE__ */ x(g, {
159
- illustration: M ? "empty-search" : "empty-people",
160
- title: M ? o(w, "projectMembers.noResultsTitle", "No matching members found") : o(w, "projectMembers.emptyTitle", "No project members yet"),
161
- description: M ? o(w, "projectMembers.noResultsSubtitle", "Try a different search to find a project member.") : o(w, "projectMembers.emptySubtitle", "Add workspace members to this project so they can collaborate here."),
162
- action: G || !M && Y ? /* @__PURE__ */ S("div", {
158
+ children: W instanceof Error && W.message || H instanceof Error && H.message || o(T, "projectMembers.loadError", "Failed to load project members")
159
+ }) : $.length === 0 ? /* @__PURE__ */ S(g, {
160
+ illustration: N ? "empty-search" : "empty-people",
161
+ title: N ? o(T, "projectMembers.noResultsTitle", "No matching members found") : o(T, "projectMembers.emptyTitle", "No project members yet"),
162
+ description: N ? o(T, "projectMembers.noResultsSubtitle", "Try a different search to find a project member.") : o(T, "projectMembers.emptySubtitle", "Add workspace members to this project so they can collaborate here."),
163
+ action: G || !N && Y ? /* @__PURE__ */ C("div", {
163
164
  className: "flex flex-wrap items-center justify-center gap-2",
164
- children: [G ? /* @__PURE__ */ x(h, {
165
+ children: [G ? /* @__PURE__ */ S(h, {
165
166
  variant: "outline",
166
167
  onClick: () => void K(),
167
168
  disabled: q,
168
169
  children: q ? "Loading more…" : "Load More Members"
169
- }) : null, !M && Y ? /* @__PURE__ */ S(h, {
170
- onClick: () => F(!0),
171
- children: [/* @__PURE__ */ x(p, { className: "mr-2 size-4" }), o(w, "projectMembers.addFirstMember", "Add First Member")]
170
+ }) : null, !N && Y ? /* @__PURE__ */ C(h, {
171
+ onClick: () => I(!0),
172
+ children: [/* @__PURE__ */ S(p, { className: "mr-2 size-4" }), o(T, "projectMembers.addFirstMember", "Add First Member")]
172
173
  }) : null]
173
- }) : void 0
174
- }) : /* @__PURE__ */ S("div", {
174
+ }) : void 0,
175
+ kind: N ? "no-results" : "first-use"
176
+ }) : /* @__PURE__ */ C("div", {
175
177
  className: "space-y-3",
176
178
  children: [$.map((e) => {
177
- let t = Q[e.userId], n = C(Q, e), r = J && I === e.userId;
178
- return /* @__PURE__ */ S("div", {
179
+ let t = Q[e.userId], n = w(Q, e), r = J && L === e.userId;
180
+ return /* @__PURE__ */ C("div", {
179
181
  className: "flex items-center justify-between gap-4 rounded-card border border-border-seam bg-bg-surface p-4 shadow-elevation-1 transition-[box-shadow,transform] duration-200 ease-[var(--motion-easing-out)] hover:shadow-elevation-2 [@media(hover:none)]:",
180
- children: [/* @__PURE__ */ S("div", {
182
+ children: [/* @__PURE__ */ C("div", {
181
183
  className: "min-w-0 flex-1",
182
- children: [t ? /* @__PURE__ */ x(ce, {
184
+ children: [t ? /* @__PURE__ */ S(se, {
183
185
  profile: t,
184
186
  variant: "cell"
185
- }) : /* @__PURE__ */ S("div", {
187
+ }) : /* @__PURE__ */ C("div", {
186
188
  className: "min-w-0",
187
- children: [/* @__PURE__ */ x("p", {
189
+ children: [/* @__PURE__ */ S("p", {
188
190
  className: "truncate font-medium",
189
191
  children: n.name
190
- }), n.email ? /* @__PURE__ */ x("p", {
192
+ }), n.email ? /* @__PURE__ */ S("p", {
191
193
  className: "truncate text-sm text-text-secondary",
192
194
  children: n.email
193
- }) : /* @__PURE__ */ x("p", {
195
+ }) : /* @__PURE__ */ S("p", {
194
196
  className: "truncate text-xs text-text-secondary",
195
197
  children: e.userId
196
198
  })]
197
- }), /* @__PURE__ */ S("div", {
199
+ }), /* @__PURE__ */ C("div", {
198
200
  className: "mt-1 flex flex-wrap items-center gap-2",
199
- children: [/* @__PURE__ */ x(m, {
201
+ children: [/* @__PURE__ */ S(m, {
200
202
  variant: "secondary",
201
203
  className: "text-xs",
202
- children: o(w, "projectMembers.memberBadge", "Project member")
203
- }), /* @__PURE__ */ S("span", {
204
+ children: o(T, "projectMembers.memberBadge", "Project member")
205
+ }), /* @__PURE__ */ C("span", {
204
206
  className: "text-xs text-text-secondary",
205
207
  children: [
206
- o(w, "projectMembers.addedLabel", "Added"),
208
+ o(T, "projectMembers.addedLabel", "Added"),
207
209
  " ",
208
210
  te(e.createdAt)
209
211
  ]
210
212
  })]
211
213
  })]
212
- }), ge ? /* @__PURE__ */ S(h, {
214
+ }), _e ? /* @__PURE__ */ C(h, {
213
215
  variant: "outline",
214
216
  size: "sm",
215
- onClick: () => void be(e),
217
+ onClick: () => void xe(e),
216
218
  disabled: J,
217
- children: [/* @__PURE__ */ x(f, { className: "mr-2 size-4" }), r ? o(w, "projectMembers.removing", "Removing...") : o(w, "projectMembers.removeAction", "Remove")]
219
+ children: [/* @__PURE__ */ S(f, { className: "mr-2 size-4" }), r ? o(T, "projectMembers.removing", "Removing...") : o(T, "projectMembers.removeAction", "Remove")]
218
220
  }) : null]
219
221
  }, e.id);
220
- }), G ? /* @__PURE__ */ S("div", {
222
+ }), G ? /* @__PURE__ */ C("div", {
221
223
  className: "flex flex-col items-center gap-2 rounded-lg border border-dashed border-border-seam bg-bg-sunken/20 p-4 text-center",
222
- children: [/* @__PURE__ */ S("p", {
224
+ children: [/* @__PURE__ */ C("p", {
223
225
  className: "text-sm text-text-secondary",
224
226
  children: [
225
227
  "Showing ",
@@ -228,7 +230,7 @@ function w() {
228
230
  Z,
229
231
  " project members."
230
232
  ]
231
- }), /* @__PURE__ */ x(h, {
233
+ }), /* @__PURE__ */ S(h, {
232
234
  variant: "outline",
233
235
  onClick: () => void K(),
234
236
  disabled: q,
@@ -236,15 +238,15 @@ function w() {
236
238
  })]
237
239
  }) : null]
238
240
  }),
239
- T && E && P ? /* @__PURE__ */ x(e, {
240
- open: P,
241
- onOpenChange: F,
242
- workspaceId: T,
243
- projectId: E,
244
- projectName: B?.name
241
+ E && D && F ? /* @__PURE__ */ S(e, {
242
+ open: F,
243
+ onOpenChange: I,
244
+ workspaceId: E,
245
+ projectId: D,
246
+ projectName: V?.name
245
247
  }) : null
246
248
  ]
247
249
  })
248
250
  });
249
251
  }
250
- export { w as ProjectMembersPage };
252
+ export { T as ProjectMembersPage };