@burdenoff/microfe-workspaces 2026.531.2 → 2026.531.4

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 (44) hide show
  1. package/dist/WorkspacesRoutes.js +36 -17
  2. package/dist/WorkspacesRoutes.js.map +1 -1
  3. package/dist/components/InviteMemberDialog.js +204 -117
  4. package/dist/components/InviteMemberDialog.js.map +1 -1
  5. package/dist/components/MemberListItem.js +2 -1
  6. package/dist/components/MemberListItem.js.map +1 -1
  7. package/dist/components/ProjectMemberPickerDialog.js +211 -0
  8. package/dist/components/ProjectMemberPickerDialog.js.map +1 -0
  9. package/dist/hooks/index.js +1 -1
  10. package/dist/hooks/useMemberMutations.js +13 -13
  11. package/dist/hooks/useMemberMutations.js.map +1 -1
  12. package/dist/hooks/useProjectMemberMutations.js +104 -0
  13. package/dist/hooks/useProjectMemberMutations.js.map +1 -0
  14. package/dist/hooks/useProjectMembers.js +42 -0
  15. package/dist/hooks/useProjectMembers.js.map +1 -0
  16. package/dist/hooks/useWorkspaceMembers.js +60 -24
  17. package/dist/hooks/useWorkspaceMembers.js.map +1 -1
  18. package/dist/hooks/useWorkspacePermissions.js +4 -0
  19. package/dist/hooks/useWorkspacePermissions.js.map +1 -1
  20. package/dist/hooks/useWorkspacesEventEmitter.js.map +1 -1
  21. package/dist/index.js +16 -15
  22. package/dist/pages/ActivityListPage.js +5 -5
  23. package/dist/pages/InviteAcceptancePage.js +211 -207
  24. package/dist/pages/InviteAcceptancePage.js.map +1 -1
  25. package/dist/pages/MembersListPage.js +210 -208
  26. package/dist/pages/MembersListPage.js.map +1 -1
  27. package/dist/pages/PendingInvitesPage.js +124 -120
  28. package/dist/pages/PendingInvitesPage.js.map +1 -1
  29. package/dist/pages/ProjectDetailPage.js +249 -213
  30. package/dist/pages/ProjectDetailPage.js.map +1 -1
  31. package/dist/pages/ProjectMembersPage.js +265 -0
  32. package/dist/pages/ProjectMembersPage.js.map +1 -0
  33. package/dist/pages/ProjectsListPage.js +9 -9
  34. package/dist/pages/WorkspaceDetailPage.js +119 -111
  35. package/dist/pages/WorkspaceDetailPage.js.map +1 -1
  36. package/dist/pages/WorkspaceInvitePage.js +790 -0
  37. package/dist/pages/WorkspaceInvitePage.js.map +1 -0
  38. package/dist/pages/WorkspacesListPage.js +115 -100
  39. package/dist/pages/WorkspacesListPage.js.map +1 -1
  40. package/dist/utils/invitationDisplay.js +25 -0
  41. package/dist/utils/invitationDisplay.js.map +1 -0
  42. package/dist/utils/workspaceBulkInviteCsv.js +42 -0
  43. package/dist/utils/workspaceBulkInviteCsv.js.map +1 -0
  44. package/package.json +1 -1
@@ -3,142 +3,133 @@ import { tWithFallback as t } from "../utils/i18n.js";
3
3
  import { useWorkspacesPageView as n } from "../hooks/useWorkspacesPageView.js";
4
4
  import { useInvitation as r } from "../hooks/useWorkspaceMembers.js";
5
5
  import { useAcceptInvitation as i, useRejectInvitation as a } from "../hooks/useMemberMutations.js";
6
- import { AlertTriangle as o, Ban as s, CheckCircle as c, Clock as l, Home as u, Mail as d, RefreshCw as f, XCircle as p } from "lucide-react";
7
- import { Fragment as m, jsx as h, jsxs as g } from "react/jsx-runtime";
8
- import { Badge as _, Button as v, Card as y, CardContent as b, CardDescription as x, CardHeader as S, CardTitle as C, Skeleton as w } from "@burdenoff/fe-libs/ui";
9
- import { useLocation as T, useNavigate as E, useParams as D } from "react-router-dom";
10
- import { useI18n as O } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
6
+ import { getProjectDisplayNames as o, getRoleDisplayNames as s, getWorkspaceDisplayName as c } from "../utils/invitationDisplay.js";
7
+ import { AlertTriangle as l, Ban as u, CheckCircle as d, Clock as f, Home as p, Mail as m, RefreshCw as h, XCircle as g } from "lucide-react";
8
+ import { Fragment as _, jsx as v, jsxs as y } from "react/jsx-runtime";
9
+ import { Badge as b, Button as x, Card as S, CardContent as C, CardDescription as w, CardHeader as T, CardTitle as E, Skeleton as D } from "@burdenoff/fe-libs/ui";
10
+ import { useLocation as O, useNavigate as k, useParams as A } from "react-router-dom";
11
+ import { useI18n as j } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
11
12
  //#region src/pages/InviteAcceptancePage.tsx
12
- function k(e) {
13
- if (e.workspaceName) return e.workspaceName;
14
- let t = e.context?.metadata?.workspaceName;
15
- return typeof t == "string" && t.trim().length > 0 ? t : e.workspaceId || "—";
16
- }
17
- function A(e) {
18
- if (Array.isArray(e.roleNames) && e.roleNames.length > 0) return e.roleNames;
19
- let t = e.context?.metadata?.roleNames;
20
- return Array.isArray(t) && t.every((e) => typeof e == "string") ? t : e.roleIds;
21
- }
22
- function j() {
13
+ function M() {
23
14
  n("workspaces.invite");
24
- let { t: o } = O(), { invitationId: s } = D(), w = T(), j = E(), { authToken: z } = e(), B = s || w.pathname.split("/").filter(Boolean).at(-1) || "", V = !!z, H = B ? `/auth/login?returnTo=${encodeURIComponent(`/workspaces/invite/${B}`)}` : "/auth/login?returnTo=%2Fworkspaces%2Flist", { data: U, isLoading: W, error: G, refetch: K } = r(B || "", V), { mutate: q, isPending: J } = i(), { mutate: Y, isPending: X } = a(), Z = U ? k(U) : null, Q = U ? A(U) : [], $ = () => {
25
- B && q(B, {
15
+ let { t: l } = j(), { invitationId: u } = A(), D = O(), M = k(), { authToken: B } = e(), V = u || D.pathname.split("/").filter(Boolean).at(-1) || "", H = !!B, U = V ? `/auth/login?returnTo=${encodeURIComponent(`/workspaces/invite/${V}`)}` : "/auth/login?returnTo=%2Fworkspaces%2Flist", { data: W, isLoading: G, error: K, refetch: q } = r(V || "", H), { mutate: J, isPending: Y } = i(), { mutate: X, isPending: Z } = a(), ee = W ? c(W) : null, Q = W ? s(W) : [], $ = W ? o(W) : [], te = () => {
16
+ V && J(V, {
26
17
  onSuccess: (e) => {
27
- let t = e.workspaceId || U?.workspaceId;
28
- j(t ? `/workspaces/${t}/members` : "/workspaces/list");
18
+ let t = e.workspaceId || W?.workspaceId;
19
+ M(t ? `/workspaces/${t}/members` : "/workspaces/list");
29
20
  },
30
21
  onError: (e) => {
31
22
  console.error("Failed to accept invitation:", e);
32
23
  }
33
24
  });
34
25
  };
35
- if (!V) return /* @__PURE__ */ h("div", {
26
+ if (!H) return /* @__PURE__ */ v("div", {
36
27
  className: "min-h-screen flex items-center justify-center bg-muted/30 p-4",
37
- children: /* @__PURE__ */ g(y, {
28
+ children: /* @__PURE__ */ y(S, {
38
29
  className: "max-w-xl w-full",
39
- children: [/* @__PURE__ */ h(S, { children: /* @__PURE__ */ g("div", {
30
+ children: [/* @__PURE__ */ v(T, { children: /* @__PURE__ */ y("div", {
40
31
  className: "flex items-center gap-3",
41
- children: [/* @__PURE__ */ h("div", {
32
+ children: [/* @__PURE__ */ v("div", {
42
33
  className: "rounded-lg bg-primary/10 p-3",
43
- children: /* @__PURE__ */ h(d, {
34
+ children: /* @__PURE__ */ v(m, {
44
35
  className: "text-primary",
45
36
  size: 24
46
37
  })
47
- }), /* @__PURE__ */ g("div", { children: [/* @__PURE__ */ h(C, { children: t(o, "inviteAcceptance.signInRequired", "Sign in to view your invitation") }), /* @__PURE__ */ h(x, { children: t(o, "inviteAcceptance.signInDescription", "Workspace invitations require an authenticated Burdenoff account before you can review or accept them.") })] })]
48
- }) }), /* @__PURE__ */ g(b, {
38
+ }), /* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v(E, { children: t(l, "inviteAcceptance.signInRequired", "Sign in to view your invitation") }), /* @__PURE__ */ v(w, { children: t(l, "inviteAcceptance.signInDescription", "Workspace invitations require an authenticated Burdenoff account before you can review or accept them.") })] })]
39
+ }) }), /* @__PURE__ */ y(C, {
49
40
  className: "space-y-4",
50
- children: [/* @__PURE__ */ h("p", {
41
+ children: [/* @__PURE__ */ v("p", {
51
42
  className: "text-sm text-muted-foreground",
52
- children: t(o, "inviteAcceptance.signInHint", "Use the same email address that received the invitation, then come back here to accept or reject it.")
53
- }), /* @__PURE__ */ g("div", {
43
+ children: t(l, "inviteAcceptance.signInHint", "Use the same email address that received the invitation, then come back here to accept or reject it.")
44
+ }), /* @__PURE__ */ y("div", {
54
45
  className: "flex flex-col gap-3 sm:flex-row",
55
- children: [/* @__PURE__ */ h(v, {
46
+ children: [/* @__PURE__ */ v(x, {
56
47
  asChild: !0,
57
- children: /* @__PURE__ */ h("a", {
58
- href: H,
59
- children: t(o, "inviteAcceptance.signInButton", "Sign In")
48
+ children: /* @__PURE__ */ v("a", {
49
+ href: U,
50
+ children: t(l, "inviteAcceptance.signInButton", "Sign In")
60
51
  })
61
- }), /* @__PURE__ */ g(v, {
52
+ }), /* @__PURE__ */ y(x, {
62
53
  variant: "outline",
63
- onClick: () => j("/workspaces/list"),
64
- children: [/* @__PURE__ */ h(u, { className: "mr-2 size-4" }), t(o, "inviteAcceptance.backToWorkspaces", "Back to Workspaces")]
54
+ onClick: () => M("/workspaces/list"),
55
+ children: [/* @__PURE__ */ v(p, { className: "mr-2 size-4" }), t(l, "inviteAcceptance.backToWorkspaces", "Back to Workspaces")]
65
56
  })]
66
57
  })]
67
58
  })]
68
59
  })
69
60
  });
70
- let ee = () => {
71
- B && Y(B, {
61
+ let ne = () => {
62
+ V && X(V, {
72
63
  onSuccess: () => {
73
- j("/workspaces/list");
64
+ M("/workspaces/list");
74
65
  },
75
66
  onError: (e) => {
76
67
  console.error("Failed to reject invitation:", e);
77
68
  }
78
69
  });
79
70
  };
80
- if (W) return /* @__PURE__ */ h(M, {});
81
- if (G) return /* @__PURE__ */ h(N, {
82
- error: G,
83
- onRetry: () => K()
71
+ if (G) return /* @__PURE__ */ v(N, {});
72
+ if (K) return /* @__PURE__ */ v(P, {
73
+ error: K,
74
+ onRetry: () => q()
84
75
  });
85
- if (!U) return /* @__PURE__ */ h(P, {});
86
- switch (U.status) {
87
- case "ACCEPTED": return /* @__PURE__ */ h(F, { invitation: U });
88
- case "REJECTED": return /* @__PURE__ */ h(I, { invitation: U });
89
- case "EXPIRED": return /* @__PURE__ */ h(L, { invitation: U });
90
- case "CANCELLED": return /* @__PURE__ */ h(R, { invitation: U });
91
- case "PENDING": return U.expiresAt && new Date(U.expiresAt) < /* @__PURE__ */ new Date() ? /* @__PURE__ */ h(L, { invitation: U }) : /* @__PURE__ */ h("div", {
76
+ if (!W) return /* @__PURE__ */ v(F, {});
77
+ switch (W.status) {
78
+ case "ACCEPTED": return /* @__PURE__ */ v(I, { invitation: W });
79
+ case "REJECTED": return /* @__PURE__ */ v(L, { invitation: W });
80
+ case "EXPIRED": return /* @__PURE__ */ v(R, { invitation: W });
81
+ case "CANCELLED": return /* @__PURE__ */ v(z, { invitation: W });
82
+ case "PENDING": return W.expiresAt && new Date(W.expiresAt) < /* @__PURE__ */ new Date() ? /* @__PURE__ */ v(R, { invitation: W }) : /* @__PURE__ */ v("div", {
92
83
  className: "min-h-screen flex items-center justify-center p-4 bg-muted/30",
93
- children: /* @__PURE__ */ g(y, {
84
+ children: /* @__PURE__ */ y(S, {
94
85
  className: "max-w-2xl w-full",
95
- children: [/* @__PURE__ */ h(S, { children: /* @__PURE__ */ g("div", {
86
+ children: [/* @__PURE__ */ v(T, { children: /* @__PURE__ */ y("div", {
96
87
  className: "flex items-center gap-3",
97
- children: [/* @__PURE__ */ h("div", {
88
+ children: [/* @__PURE__ */ v("div", {
98
89
  className: "p-3 rounded-lg bg-primary/10",
99
- children: /* @__PURE__ */ h(d, {
90
+ children: /* @__PURE__ */ v(m, {
100
91
  className: "text-primary",
101
92
  size: 24
102
93
  })
103
- }), /* @__PURE__ */ g("div", {
94
+ }), /* @__PURE__ */ y("div", {
104
95
  className: "flex-1",
105
- children: [/* @__PURE__ */ h(C, { children: t(o, "inviteAcceptance.pageTitle", "Workspace Invitation") }), /* @__PURE__ */ h(x, { children: t(o, "inviteAcceptance.pageSubtitle", "You've been invited to join a workspace") })]
96
+ children: [/* @__PURE__ */ v(E, { children: t(l, "inviteAcceptance.pageTitle", "Workspace Invitation") }), /* @__PURE__ */ v(w, { children: t(l, "inviteAcceptance.pageSubtitle", "You've been invited to join a workspace") })]
106
97
  })]
107
- }) }), /* @__PURE__ */ g(b, {
98
+ }) }), /* @__PURE__ */ y(C, {
108
99
  className: "space-y-6",
109
- children: [/* @__PURE__ */ g("div", {
100
+ children: [/* @__PURE__ */ y("div", {
110
101
  className: "space-y-4 p-4 rounded-lg bg-muted/50",
111
102
  children: [
112
- /* @__PURE__ */ g("div", { children: [/* @__PURE__ */ h("p", {
103
+ /* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("p", {
113
104
  className: "text-sm font-medium text-muted-foreground",
114
- children: t(o, "inviteAcceptance.emailAddressLabel", "Email Address")
115
- }), /* @__PURE__ */ h("p", {
105
+ children: t(l, "inviteAcceptance.emailAddressLabel", "Email Address")
106
+ }), /* @__PURE__ */ v("p", {
116
107
  className: "text-lg font-medium mt-1",
117
- children: U.email
108
+ children: W.email
118
109
  })] }),
119
- /* @__PURE__ */ g("div", { children: [
120
- /* @__PURE__ */ h("p", {
110
+ /* @__PURE__ */ y("div", { children: [
111
+ /* @__PURE__ */ v("p", {
121
112
  className: "text-sm font-medium text-muted-foreground",
122
- children: t(o, "inviteAcceptance.workspaceLabel", "Workspace")
113
+ children: t(l, "inviteAcceptance.workspaceLabel", "Workspace")
123
114
  }),
124
- /* @__PURE__ */ h("p", {
115
+ /* @__PURE__ */ v("p", {
125
116
  className: "text-lg font-medium mt-1 break-words",
126
- children: Z
117
+ children: ee
127
118
  }),
128
- U.workspaceId ? /* @__PURE__ */ h("p", {
119
+ W.workspaceId ? /* @__PURE__ */ v("p", {
129
120
  className: "mt-1 font-mono text-xs text-muted-foreground break-all",
130
- children: U.workspaceId
121
+ children: W.workspaceId
131
122
  }) : null
132
123
  ] }),
133
- U.expiresAt && /* @__PURE__ */ g("div", { children: [/* @__PURE__ */ h("p", {
124
+ W.expiresAt && /* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("p", {
134
125
  className: "text-sm font-medium text-muted-foreground",
135
- children: t(o, "inviteAcceptance.expiresLabel", "Expires")
136
- }), /* @__PURE__ */ g("p", {
126
+ children: t(l, "inviteAcceptance.expiresLabel", "Expires")
127
+ }), /* @__PURE__ */ y("p", {
137
128
  className: "text-lg font-medium mt-1 flex items-center gap-2",
138
- children: [/* @__PURE__ */ h(l, {
129
+ children: [/* @__PURE__ */ v(f, {
139
130
  size: 16,
140
131
  className: "text-muted-foreground"
141
- }), new Date(U.expiresAt).toLocaleDateString("en-US", {
132
+ }), new Date(W.expiresAt).toLocaleDateString("en-US", {
142
133
  year: "numeric",
143
134
  month: "long",
144
135
  day: "numeric",
@@ -146,198 +137,211 @@ function j() {
146
137
  minute: "2-digit"
147
138
  })]
148
139
  })] }),
149
- Q.length > 0 && /* @__PURE__ */ g("div", { children: [/* @__PURE__ */ h("p", {
140
+ Q.length > 0 && /* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("p", {
150
141
  className: "text-sm font-medium text-muted-foreground mb-2",
151
- children: t(o, "inviteAcceptance.rolesLabel", "Roles")
152
- }), /* @__PURE__ */ h("div", {
142
+ children: t(l, "inviteAcceptance.rolesLabel", "Roles")
143
+ }), /* @__PURE__ */ v("div", {
153
144
  className: "flex flex-wrap gap-2",
154
- children: Q.map((e, t) => /* @__PURE__ */ h(_, {
145
+ children: Q.map((e, t) => /* @__PURE__ */ v(b, {
155
146
  variant: "secondary",
156
147
  children: e
157
- }, `${U.id}-${U.roleIds[t] ?? e}`))
148
+ }, `${W.id}-${W.roleIds[t] ?? e}`))
149
+ })] }),
150
+ /* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("p", {
151
+ className: "text-sm font-medium text-muted-foreground mb-2",
152
+ children: t(l, "inviteAcceptance.projectsLabel", "Projects")
153
+ }), /* @__PURE__ */ v("div", {
154
+ className: "flex flex-wrap gap-2",
155
+ children: $.length > 0 ? $.map((e, t) => /* @__PURE__ */ v(b, {
156
+ variant: "outline",
157
+ children: e
158
+ }, `${W.id}-project-${e}-${t}`)) : /* @__PURE__ */ v("p", {
159
+ className: "text-sm text-muted-foreground",
160
+ children: t(l, "inviteAcceptance.noProjects", "No project memberships will be granted automatically with this invitation.")
161
+ })
158
162
  })] }),
159
- /* @__PURE__ */ g("div", { children: [/* @__PURE__ */ h("p", {
163
+ /* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("p", {
160
164
  className: "text-sm font-medium text-muted-foreground",
161
- children: t(o, "inviteAcceptance.invitationIdLabel", "Invitation ID")
162
- }), /* @__PURE__ */ h("p", {
165
+ children: t(l, "inviteAcceptance.invitationIdLabel", "Invitation ID")
166
+ }), /* @__PURE__ */ v("p", {
163
167
  className: "text-sm font-mono mt-1 text-muted-foreground",
164
- children: U.id
168
+ children: W.id
165
169
  })] })
166
170
  ]
167
- }), /* @__PURE__ */ g("div", {
171
+ }), /* @__PURE__ */ y("div", {
168
172
  className: "flex flex-col sm:flex-row gap-3 pt-4 border-t",
169
- children: [/* @__PURE__ */ h(v, {
170
- onClick: $,
171
- disabled: J || X,
173
+ children: [/* @__PURE__ */ v(x, {
174
+ onClick: te,
175
+ disabled: Y || Z,
172
176
  className: "flex-1",
173
177
  size: "lg",
174
- children: J ? /* @__PURE__ */ g(m, { children: [/* @__PURE__ */ h(f, { className: "mr-2 size-4 animate-spin" }), t(o, "inviteAcceptance.accepting", "Accepting...")] }) : /* @__PURE__ */ g(m, { children: [/* @__PURE__ */ h(c, { className: "mr-2 size-4" }), t(o, "inviteAcceptance.acceptButton", "Accept Invitation")] })
175
- }), /* @__PURE__ */ h(v, {
178
+ children: Y ? /* @__PURE__ */ y(_, { children: [/* @__PURE__ */ v(h, { className: "mr-2 size-4 animate-spin" }), t(l, "inviteAcceptance.accepting", "Accepting...")] }) : /* @__PURE__ */ y(_, { children: [/* @__PURE__ */ v(d, { className: "mr-2 size-4" }), t(l, "inviteAcceptance.acceptButton", "Accept Invitation")] })
179
+ }), /* @__PURE__ */ v(x, {
176
180
  variant: "outline",
177
- onClick: ee,
178
- disabled: J || X,
181
+ onClick: ne,
182
+ disabled: Y || Z,
179
183
  className: "flex-1",
180
184
  size: "lg",
181
- children: X ? /* @__PURE__ */ g(m, { children: [/* @__PURE__ */ h(f, { className: "mr-2 size-4 animate-spin" }), t(o, "inviteAcceptance.rejecting", "Rejecting...")] }) : /* @__PURE__ */ g(m, { children: [/* @__PURE__ */ h(p, { className: "mr-2 size-4" }), t(o, "inviteAcceptance.rejectButton", "Reject")] })
185
+ children: Z ? /* @__PURE__ */ y(_, { children: [/* @__PURE__ */ v(h, { className: "mr-2 size-4 animate-spin" }), t(l, "inviteAcceptance.rejecting", "Rejecting...")] }) : /* @__PURE__ */ y(_, { children: [/* @__PURE__ */ v(g, { className: "mr-2 size-4" }), t(l, "inviteAcceptance.rejectButton", "Reject")] })
182
186
  })]
183
187
  })]
184
188
  })]
185
189
  })
186
190
  });
187
- default: return /* @__PURE__ */ h(P, {});
191
+ default: return /* @__PURE__ */ v(F, {});
188
192
  }
189
193
  }
190
- function M() {
191
- return /* @__PURE__ */ h("div", {
194
+ function N() {
195
+ return /* @__PURE__ */ v("div", {
192
196
  className: "min-h-screen flex items-center justify-center p-4 bg-muted/30",
193
- children: /* @__PURE__ */ g(y, {
197
+ children: /* @__PURE__ */ y(S, {
194
198
  className: "max-w-2xl w-full",
195
- children: [/* @__PURE__ */ h(S, { children: /* @__PURE__ */ g("div", {
199
+ children: [/* @__PURE__ */ v(T, { children: /* @__PURE__ */ y("div", {
196
200
  className: "flex items-center gap-3",
197
- children: [/* @__PURE__ */ h(w, { className: "size-12 rounded-lg" }), /* @__PURE__ */ g("div", {
201
+ children: [/* @__PURE__ */ v(D, { className: "size-12 rounded-lg" }), /* @__PURE__ */ y("div", {
198
202
  className: "flex-1 space-y-2",
199
- children: [/* @__PURE__ */ h(w, { className: "h-6 w-48" }), /* @__PURE__ */ h(w, { className: "h-4 w-64" })]
203
+ children: [/* @__PURE__ */ v(D, { className: "h-6 w-48" }), /* @__PURE__ */ v(D, { className: "h-4 w-64" })]
200
204
  })]
201
- }) }), /* @__PURE__ */ g(b, {
205
+ }) }), /* @__PURE__ */ y(C, {
202
206
  className: "space-y-6",
203
- children: [/* @__PURE__ */ g("div", {
207
+ children: [/* @__PURE__ */ y("div", {
204
208
  className: "space-y-4 p-4 rounded-lg bg-muted/50",
205
- children: [/* @__PURE__ */ g("div", {
209
+ children: [/* @__PURE__ */ y("div", {
206
210
  className: "space-y-2",
207
- children: [/* @__PURE__ */ h(w, { className: "h-4 w-24" }), /* @__PURE__ */ h(w, { className: "h-6 w-48" })]
208
- }), /* @__PURE__ */ g("div", {
211
+ children: [/* @__PURE__ */ v(D, { className: "h-4 w-24" }), /* @__PURE__ */ v(D, { className: "h-6 w-48" })]
212
+ }), /* @__PURE__ */ y("div", {
209
213
  className: "space-y-2",
210
- children: [/* @__PURE__ */ h(w, { className: "h-4 w-24" }), /* @__PURE__ */ h(w, { className: "h-6 w-64" })]
214
+ children: [/* @__PURE__ */ v(D, { className: "h-4 w-24" }), /* @__PURE__ */ v(D, { className: "h-6 w-64" })]
211
215
  })]
212
- }), /* @__PURE__ */ g("div", {
216
+ }), /* @__PURE__ */ y("div", {
213
217
  className: "flex gap-3 pt-4",
214
- children: [/* @__PURE__ */ h(w, { className: "h-12 flex-1" }), /* @__PURE__ */ h(w, { className: "h-12 flex-1" })]
218
+ children: [/* @__PURE__ */ v(D, { className: "h-12 flex-1" }), /* @__PURE__ */ v(D, { className: "h-12 flex-1" })]
215
219
  })]
216
220
  })]
217
221
  })
218
222
  });
219
223
  }
220
- function N({ error: e, onRetry: n }) {
221
- let { t: r } = O(), i = E();
222
- return /* @__PURE__ */ h("div", {
224
+ function P({ error: e, onRetry: n }) {
225
+ let { t: r } = j(), i = k();
226
+ return /* @__PURE__ */ v("div", {
223
227
  className: "min-h-screen flex items-center justify-center p-4 bg-muted/30",
224
- children: /* @__PURE__ */ g(y, {
228
+ children: /* @__PURE__ */ y(S, {
225
229
  className: "max-w-2xl w-full",
226
- children: [/* @__PURE__ */ h(S, { children: /* @__PURE__ */ g("div", {
230
+ children: [/* @__PURE__ */ v(T, { children: /* @__PURE__ */ y("div", {
227
231
  className: "flex items-center gap-3",
228
- children: [/* @__PURE__ */ h("div", {
232
+ children: [/* @__PURE__ */ v("div", {
229
233
  className: "p-3 rounded-lg bg-destructive/10",
230
- children: /* @__PURE__ */ h(o, {
234
+ children: /* @__PURE__ */ v(l, {
231
235
  className: "text-destructive",
232
236
  size: 24
233
237
  })
234
- }), /* @__PURE__ */ g("div", {
238
+ }), /* @__PURE__ */ y("div", {
235
239
  className: "flex-1",
236
- children: [/* @__PURE__ */ h(C, { children: t(r, "inviteAcceptance.errorTitle", "Error Loading Invitation") }), /* @__PURE__ */ h(x, { children: t(r, "inviteAcceptance.errorDescription", "We couldn't load this invitation. Please try again.") })]
240
+ children: [/* @__PURE__ */ v(E, { children: t(r, "inviteAcceptance.errorTitle", "Error Loading Invitation") }), /* @__PURE__ */ v(w, { children: t(r, "inviteAcceptance.errorDescription", "We couldn't load this invitation. Please try again.") })]
237
241
  })]
238
- }) }), /* @__PURE__ */ g(b, {
242
+ }) }), /* @__PURE__ */ y(C, {
239
243
  className: "space-y-4",
240
- children: [/* @__PURE__ */ g("div", {
244
+ children: [/* @__PURE__ */ y("div", {
241
245
  className: "flex gap-3 p-4 rounded-lg border border-destructive/50 bg-destructive/10",
242
- children: [/* @__PURE__ */ h(o, { className: "size-5 text-destructive flex-shrink-0 mt-0.5" }), /* @__PURE__ */ g("div", { children: [/* @__PURE__ */ h("p", {
246
+ children: [/* @__PURE__ */ v(l, { className: "size-5 text-destructive flex-shrink-0 mt-0.5" }), /* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("p", {
243
247
  className: "font-medium text-destructive",
244
248
  children: t(r, "inviteAcceptance.errorDetailsLabel", "Error Details")
245
- }), /* @__PURE__ */ h("p", {
249
+ }), /* @__PURE__ */ v("p", {
246
250
  className: "text-sm mt-1 text-destructive/90",
247
251
  children: e.message
248
252
  })] })]
249
- }), /* @__PURE__ */ g("div", {
253
+ }), /* @__PURE__ */ y("div", {
250
254
  className: "flex gap-3",
251
- children: [/* @__PURE__ */ g(v, {
255
+ children: [/* @__PURE__ */ y(x, {
252
256
  onClick: n,
253
257
  className: "flex-1",
254
- children: [/* @__PURE__ */ h(f, { className: "mr-2 size-4" }), t(r, "inviteAcceptance.tryAgain", "Try Again")]
255
- }), /* @__PURE__ */ g(v, {
258
+ children: [/* @__PURE__ */ v(h, { className: "mr-2 size-4" }), t(r, "inviteAcceptance.tryAgain", "Try Again")]
259
+ }), /* @__PURE__ */ y(x, {
256
260
  variant: "outline",
257
261
  onClick: () => i("/workspaces/list"),
258
262
  className: "flex-1",
259
- children: [/* @__PURE__ */ h(u, { className: "mr-2 size-4" }), t(r, "inviteAcceptance.goToWorkspaces", "Go to Workspaces")]
263
+ children: [/* @__PURE__ */ v(p, { className: "mr-2 size-4" }), t(r, "inviteAcceptance.goToWorkspaces", "Go to Workspaces")]
260
264
  })]
261
265
  })]
262
266
  })]
263
267
  })
264
268
  });
265
269
  }
266
- function P() {
267
- let { t: e } = O(), n = E();
268
- return /* @__PURE__ */ h("div", {
270
+ function F() {
271
+ let { t: e } = j(), n = k();
272
+ return /* @__PURE__ */ v("div", {
269
273
  className: "min-h-screen flex items-center justify-center p-4 bg-muted/30",
270
- children: /* @__PURE__ */ g(y, {
274
+ children: /* @__PURE__ */ y(S, {
271
275
  className: "max-w-2xl w-full",
272
- children: [/* @__PURE__ */ h(S, { children: /* @__PURE__ */ g("div", {
276
+ children: [/* @__PURE__ */ v(T, { children: /* @__PURE__ */ y("div", {
273
277
  className: "flex items-center gap-3",
274
- children: [/* @__PURE__ */ h("div", {
278
+ children: [/* @__PURE__ */ v("div", {
275
279
  className: "p-3 rounded-lg bg-muted",
276
- children: /* @__PURE__ */ h(o, {
280
+ children: /* @__PURE__ */ v(l, {
277
281
  className: "text-muted-foreground",
278
282
  size: 24
279
283
  })
280
- }), /* @__PURE__ */ g("div", {
284
+ }), /* @__PURE__ */ y("div", {
281
285
  className: "flex-1",
282
- children: [/* @__PURE__ */ h(C, { children: t(e, "inviteAcceptance.notFoundTitle", "Invitation Not Found") }), /* @__PURE__ */ h(x, { children: t(e, "inviteAcceptance.notFoundDescription", "This invitation link is invalid or has been removed") })]
286
+ children: [/* @__PURE__ */ v(E, { children: t(e, "inviteAcceptance.notFoundTitle", "Invitation Not Found") }), /* @__PURE__ */ v(w, { children: t(e, "inviteAcceptance.notFoundDescription", "This invitation link is invalid or has been removed") })]
283
287
  })]
284
- }) }), /* @__PURE__ */ g(b, {
288
+ }) }), /* @__PURE__ */ y(C, {
285
289
  className: "space-y-4",
286
- children: [/* @__PURE__ */ g("div", {
290
+ children: [/* @__PURE__ */ y("div", {
287
291
  className: "flex gap-3 p-4 rounded-lg border border-border bg-muted/50",
288
- children: [/* @__PURE__ */ h(o, { className: "size-5 text-muted-foreground flex-shrink-0 mt-0.5" }), /* @__PURE__ */ g("div", { children: [/* @__PURE__ */ h("p", {
292
+ children: [/* @__PURE__ */ v(l, { className: "size-5 text-muted-foreground flex-shrink-0 mt-0.5" }), /* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("p", {
289
293
  className: "font-medium",
290
294
  children: t(e, "inviteAcceptance.invalidLinkHeading", "Invalid Invitation Link")
291
- }), /* @__PURE__ */ h("p", {
295
+ }), /* @__PURE__ */ v("p", {
292
296
  className: "text-sm mt-1 text-muted-foreground",
293
297
  children: t(e, "inviteAcceptance.invalidLinkBody", "The invitation you're trying to access doesn't exist. It may have been deleted or the link is incorrect.")
294
298
  })] })]
295
- }), /* @__PURE__ */ g(v, {
299
+ }), /* @__PURE__ */ y(x, {
296
300
  onClick: () => n("/workspaces/list"),
297
301
  className: "w-full",
298
- children: [/* @__PURE__ */ h(u, { className: "mr-2 size-4" }), t(e, "inviteAcceptance.goToWorkspaces", "Go to Workspaces")]
302
+ children: [/* @__PURE__ */ v(p, { className: "mr-2 size-4" }), t(e, "inviteAcceptance.goToWorkspaces", "Go to Workspaces")]
299
303
  })]
300
304
  })]
301
305
  })
302
306
  });
303
307
  }
304
- function F({ invitation: e }) {
305
- let { t: n } = O(), r = E();
306
- return /* @__PURE__ */ h("div", {
308
+ function I({ invitation: e }) {
309
+ let { t: n } = j(), r = k();
310
+ return /* @__PURE__ */ v("div", {
307
311
  className: "min-h-screen flex items-center justify-center p-4 bg-muted/30",
308
- children: /* @__PURE__ */ g(y, {
312
+ children: /* @__PURE__ */ y(S, {
309
313
  className: "max-w-2xl w-full",
310
- children: [/* @__PURE__ */ h(S, { children: /* @__PURE__ */ g("div", {
314
+ children: [/* @__PURE__ */ v(T, { children: /* @__PURE__ */ y("div", {
311
315
  className: "flex items-center gap-3",
312
- children: [/* @__PURE__ */ h("div", {
316
+ children: [/* @__PURE__ */ v("div", {
313
317
  className: "p-3 rounded-lg bg-status-success/10 transition-colors",
314
- children: /* @__PURE__ */ h(c, {
318
+ children: /* @__PURE__ */ v(d, {
315
319
  className: "text-status-success",
316
320
  size: 24
317
321
  })
318
- }), /* @__PURE__ */ g("div", {
322
+ }), /* @__PURE__ */ y("div", {
319
323
  className: "flex-1",
320
- children: [/* @__PURE__ */ h(C, { children: t(n, "inviteAcceptance.alreadyAcceptedTitle", "Invitation Already Accepted") }), /* @__PURE__ */ h(x, { children: t(n, "inviteAcceptance.alreadyAcceptedDescription", "This invitation has already been accepted") })]
324
+ children: [/* @__PURE__ */ v(E, { children: t(n, "inviteAcceptance.alreadyAcceptedTitle", "Invitation Already Accepted") }), /* @__PURE__ */ v(w, { children: t(n, "inviteAcceptance.alreadyAcceptedDescription", "This invitation has already been accepted") })]
321
325
  })]
322
- }) }), /* @__PURE__ */ g(b, {
326
+ }) }), /* @__PURE__ */ y(C, {
323
327
  className: "space-y-4",
324
- children: [/* @__PURE__ */ g("div", {
328
+ children: [/* @__PURE__ */ y("div", {
325
329
  className: "flex gap-3 p-4 rounded-lg border border-status-success/30 bg-status-success/10 transition-colors",
326
- children: [/* @__PURE__ */ h(c, { className: "size-5 text-status-success flex-shrink-0 mt-0.5" }), /* @__PURE__ */ g("div", { children: [/* @__PURE__ */ h("p", {
330
+ children: [/* @__PURE__ */ v(d, { className: "size-5 text-status-success flex-shrink-0 mt-0.5" }), /* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("p", {
327
331
  className: "font-medium text-status-success",
328
332
  children: t(n, "inviteAcceptance.alreadyMember", "You're already a member")
329
- }), /* @__PURE__ */ g("p", {
333
+ }), /* @__PURE__ */ y("p", {
330
334
  className: "text-sm mt-1 text-status-success/80",
331
335
  children: [
332
336
  t(n, "inviteAcceptance.alreadyAcceptedPrefix", "This invitation to "),
333
- /* @__PURE__ */ h("span", {
337
+ /* @__PURE__ */ v("span", {
334
338
  className: "font-medium",
335
339
  children: e.email
336
340
  }),
337
341
  t(n, "inviteAcceptance.alreadyAcceptedSuffix", " has already been accepted.")
338
342
  ]
339
343
  })] })]
340
- }), /* @__PURE__ */ h(v, {
344
+ }), /* @__PURE__ */ v(x, {
341
345
  onClick: () => r(`/workspaces/${e.workspaceId}/members`),
342
346
  className: "w-full",
343
347
  children: t(n, "inviteAcceptance.goToWorkspace", "Go to Workspace")
@@ -346,83 +350,83 @@ function F({ invitation: e }) {
346
350
  })
347
351
  });
348
352
  }
349
- function I({ invitation: e }) {
350
- let { t: n } = O(), r = E();
351
- return /* @__PURE__ */ h("div", {
353
+ function L({ invitation: e }) {
354
+ let { t: n } = j(), r = k();
355
+ return /* @__PURE__ */ v("div", {
352
356
  className: "min-h-screen flex items-center justify-center p-4 bg-muted/30",
353
- children: /* @__PURE__ */ g(y, {
357
+ children: /* @__PURE__ */ y(S, {
354
358
  className: "max-w-2xl w-full",
355
- children: [/* @__PURE__ */ h(S, { children: /* @__PURE__ */ g("div", {
359
+ children: [/* @__PURE__ */ v(T, { children: /* @__PURE__ */ y("div", {
356
360
  className: "flex items-center gap-3",
357
- children: [/* @__PURE__ */ h("div", {
361
+ children: [/* @__PURE__ */ v("div", {
358
362
  className: "p-3 rounded-lg bg-muted",
359
- children: /* @__PURE__ */ h(p, {
363
+ children: /* @__PURE__ */ v(g, {
360
364
  className: "text-muted-foreground",
361
365
  size: 24
362
366
  })
363
- }), /* @__PURE__ */ g("div", {
367
+ }), /* @__PURE__ */ y("div", {
364
368
  className: "flex-1",
365
- children: [/* @__PURE__ */ h(C, { children: t(n, "inviteAcceptance.rejectedTitle", "Invitation Rejected") }), /* @__PURE__ */ h(x, { children: t(n, "inviteAcceptance.rejectedDescription", "You've already declined this invitation") })]
369
+ children: [/* @__PURE__ */ v(E, { children: t(n, "inviteAcceptance.rejectedTitle", "Invitation Rejected") }), /* @__PURE__ */ v(w, { children: t(n, "inviteAcceptance.rejectedDescription", "You've already declined this invitation") })]
366
370
  })]
367
- }) }), /* @__PURE__ */ g(b, {
371
+ }) }), /* @__PURE__ */ y(C, {
368
372
  className: "space-y-4",
369
- children: [/* @__PURE__ */ g("div", {
373
+ children: [/* @__PURE__ */ y("div", {
370
374
  className: "flex gap-3 p-4 rounded-lg border border-border bg-muted/50",
371
- children: [/* @__PURE__ */ h(p, { className: "size-5 text-muted-foreground flex-shrink-0 mt-0.5" }), /* @__PURE__ */ g("div", { children: [/* @__PURE__ */ h("p", {
375
+ children: [/* @__PURE__ */ v(g, { className: "size-5 text-muted-foreground flex-shrink-0 mt-0.5" }), /* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("p", {
372
376
  className: "font-medium",
373
377
  children: t(n, "inviteAcceptance.invitationDeclined", "Invitation Declined")
374
- }), /* @__PURE__ */ g("p", {
378
+ }), /* @__PURE__ */ y("p", {
375
379
  className: "text-sm mt-1 text-muted-foreground",
376
380
  children: [
377
381
  t(n, "inviteAcceptance.rejectedPrefix", "This invitation to "),
378
- /* @__PURE__ */ h("span", {
382
+ /* @__PURE__ */ v("span", {
379
383
  className: "font-medium",
380
384
  children: e.email
381
385
  }),
382
386
  t(n, "inviteAcceptance.rejectedSuffix", " was previously rejected.")
383
387
  ]
384
388
  })] })]
385
- }), /* @__PURE__ */ g(v, {
389
+ }), /* @__PURE__ */ y(x, {
386
390
  onClick: () => r("/workspaces/list"),
387
391
  className: "w-full",
388
- children: [/* @__PURE__ */ h(u, { className: "mr-2 size-4" }), t(n, "inviteAcceptance.goToWorkspaces", "Go to Workspaces")]
392
+ children: [/* @__PURE__ */ v(p, { className: "mr-2 size-4" }), t(n, "inviteAcceptance.goToWorkspaces", "Go to Workspaces")]
389
393
  })]
390
394
  })]
391
395
  })
392
396
  });
393
397
  }
394
- function L({ invitation: e }) {
395
- let { t: n } = O(), r = E();
396
- return /* @__PURE__ */ h("div", {
398
+ function R({ invitation: e }) {
399
+ let { t: n } = j(), r = k();
400
+ return /* @__PURE__ */ v("div", {
397
401
  className: "min-h-screen flex items-center justify-center p-4 bg-muted/30",
398
- children: /* @__PURE__ */ g(y, {
402
+ children: /* @__PURE__ */ y(S, {
399
403
  className: "max-w-2xl w-full",
400
- children: [/* @__PURE__ */ h(S, { children: /* @__PURE__ */ g("div", {
404
+ children: [/* @__PURE__ */ v(T, { children: /* @__PURE__ */ y("div", {
401
405
  className: "flex items-center gap-3",
402
- children: [/* @__PURE__ */ h("div", {
406
+ children: [/* @__PURE__ */ v("div", {
403
407
  className: "p-3 rounded-lg bg-status-warning/10 transition-colors",
404
- children: /* @__PURE__ */ h(l, {
408
+ children: /* @__PURE__ */ v(f, {
405
409
  className: "text-status-warning",
406
410
  size: 24
407
411
  })
408
- }), /* @__PURE__ */ g("div", {
412
+ }), /* @__PURE__ */ y("div", {
409
413
  className: "flex-1",
410
- children: [/* @__PURE__ */ h(C, { children: t(n, "inviteAcceptance.expiredTitle", "Invitation Expired") }), /* @__PURE__ */ h(x, { children: t(n, "inviteAcceptance.expiredDescription", "This invitation has expired") })]
414
+ children: [/* @__PURE__ */ v(E, { children: t(n, "inviteAcceptance.expiredTitle", "Invitation Expired") }), /* @__PURE__ */ v(w, { children: t(n, "inviteAcceptance.expiredDescription", "This invitation has expired") })]
411
415
  })]
412
- }) }), /* @__PURE__ */ g(b, {
416
+ }) }), /* @__PURE__ */ y(C, {
413
417
  className: "space-y-4",
414
- children: [/* @__PURE__ */ g("div", {
418
+ children: [/* @__PURE__ */ y("div", {
415
419
  className: "flex gap-3 p-4 rounded-lg border border-status-warning/30 bg-status-warning/10 transition-colors",
416
- children: [/* @__PURE__ */ h(l, { className: "size-5 text-status-warning flex-shrink-0 mt-0.5" }), /* @__PURE__ */ g("div", { children: [
417
- /* @__PURE__ */ h("p", {
420
+ children: [/* @__PURE__ */ v(f, { className: "size-5 text-status-warning flex-shrink-0 mt-0.5" }), /* @__PURE__ */ y("div", { children: [
421
+ /* @__PURE__ */ v("p", {
418
422
  className: "font-medium text-status-warning",
419
423
  children: t(n, "inviteAcceptance.expiredHeading", "Invitation No Longer Valid")
420
424
  }),
421
- /* @__PURE__ */ g("p", {
425
+ /* @__PURE__ */ y("p", {
422
426
  className: "text-sm mt-1 text-status-warning/80",
423
427
  children: [
424
428
  t(n, "inviteAcceptance.expiredPrefix", "This invitation to "),
425
- /* @__PURE__ */ h("span", {
429
+ /* @__PURE__ */ v("span", {
426
430
  className: "font-medium",
427
431
  children: e.email
428
432
  }),
@@ -435,66 +439,66 @@ function L({ invitation: e }) {
435
439
  "."
436
440
  ]
437
441
  }),
438
- /* @__PURE__ */ h("p", {
442
+ /* @__PURE__ */ v("p", {
439
443
  className: "text-sm mt-2 text-status-warning/80",
440
444
  children: t(n, "inviteAcceptance.expiredContactAdmin", "Please contact the workspace admin to request a new invitation.")
441
445
  })
442
446
  ] })]
443
- }), /* @__PURE__ */ g(v, {
447
+ }), /* @__PURE__ */ y(x, {
444
448
  onClick: () => r("/workspaces/list"),
445
449
  className: "w-full",
446
- children: [/* @__PURE__ */ h(u, { className: "mr-2 size-4" }), t(n, "inviteAcceptance.goToWorkspaces", "Go to Workspaces")]
450
+ children: [/* @__PURE__ */ v(p, { className: "mr-2 size-4" }), t(n, "inviteAcceptance.goToWorkspaces", "Go to Workspaces")]
447
451
  })]
448
452
  })]
449
453
  })
450
454
  });
451
455
  }
452
- function R({ invitation: e }) {
453
- let { t: n } = O(), r = E();
454
- return /* @__PURE__ */ h("div", {
456
+ function z({ invitation: e }) {
457
+ let { t: n } = j(), r = k();
458
+ return /* @__PURE__ */ v("div", {
455
459
  className: "min-h-screen flex items-center justify-center p-4 bg-muted/30",
456
- children: /* @__PURE__ */ g(y, {
460
+ children: /* @__PURE__ */ y(S, {
457
461
  className: "max-w-2xl w-full",
458
- children: [/* @__PURE__ */ h(S, { children: /* @__PURE__ */ g("div", {
462
+ children: [/* @__PURE__ */ v(T, { children: /* @__PURE__ */ y("div", {
459
463
  className: "flex items-center gap-3",
460
- children: [/* @__PURE__ */ h("div", {
464
+ children: [/* @__PURE__ */ v("div", {
461
465
  className: "p-3 rounded-lg bg-destructive/10",
462
- children: /* @__PURE__ */ h(s, {
466
+ children: /* @__PURE__ */ v(u, {
463
467
  className: "text-destructive",
464
468
  size: 24
465
469
  })
466
- }), /* @__PURE__ */ g("div", {
470
+ }), /* @__PURE__ */ y("div", {
467
471
  className: "flex-1",
468
- children: [/* @__PURE__ */ h(C, { children: t(n, "inviteAcceptance.cancelledTitle", "Invitation Cancelled") }), /* @__PURE__ */ h(x, { children: t(n, "inviteAcceptance.cancelledDescription", "This invitation has been cancelled by the sender") })]
472
+ children: [/* @__PURE__ */ v(E, { children: t(n, "inviteAcceptance.cancelledTitle", "Invitation Cancelled") }), /* @__PURE__ */ v(w, { children: t(n, "inviteAcceptance.cancelledDescription", "This invitation has been cancelled by the sender") })]
469
473
  })]
470
- }) }), /* @__PURE__ */ g(b, {
474
+ }) }), /* @__PURE__ */ y(C, {
471
475
  className: "space-y-4",
472
- children: [/* @__PURE__ */ g("div", {
476
+ children: [/* @__PURE__ */ y("div", {
473
477
  className: "flex gap-3 p-4 rounded-lg border border-destructive/50 bg-destructive/10",
474
- children: [/* @__PURE__ */ h(s, { className: "size-5 text-destructive flex-shrink-0 mt-0.5" }), /* @__PURE__ */ g("div", { children: [/* @__PURE__ */ h("p", {
478
+ children: [/* @__PURE__ */ v(u, { className: "size-5 text-destructive flex-shrink-0 mt-0.5" }), /* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("p", {
475
479
  className: "font-medium text-destructive",
476
480
  children: t(n, "inviteAcceptance.cancelledHeading", "Invitation No Longer Available")
477
- }), /* @__PURE__ */ g("p", {
481
+ }), /* @__PURE__ */ y("p", {
478
482
  className: "text-sm mt-1 text-destructive/90",
479
483
  children: [
480
484
  t(n, "inviteAcceptance.cancelledPrefix", "This invitation to "),
481
- /* @__PURE__ */ h("span", {
485
+ /* @__PURE__ */ v("span", {
482
486
  className: "font-medium",
483
487
  children: e.email
484
488
  }),
485
489
  t(n, "inviteAcceptance.cancelledSuffix", " was cancelled by the workspace admin and is no longer valid.")
486
490
  ]
487
491
  })] })]
488
- }), /* @__PURE__ */ g(v, {
492
+ }), /* @__PURE__ */ y(x, {
489
493
  onClick: () => r("/workspaces/list"),
490
494
  className: "w-full",
491
- children: [/* @__PURE__ */ h(u, { className: "mr-2 size-4" }), t(n, "inviteAcceptance.goToWorkspaces", "Go to Workspaces")]
495
+ children: [/* @__PURE__ */ v(p, { className: "mr-2 size-4" }), t(n, "inviteAcceptance.goToWorkspaces", "Go to Workspaces")]
492
496
  })]
493
497
  })]
494
498
  })
495
499
  });
496
500
  }
497
501
  //#endregion
498
- export { j as InviteAcceptancePage };
502
+ export { M as InviteAcceptancePage };
499
503
 
500
504
  //# sourceMappingURL=InviteAcceptancePage.js.map