@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.
- package/dist/WorkspacesRoutes.js +36 -17
- package/dist/WorkspacesRoutes.js.map +1 -1
- package/dist/components/InviteMemberDialog.js +204 -117
- package/dist/components/InviteMemberDialog.js.map +1 -1
- package/dist/components/MemberListItem.js +2 -1
- package/dist/components/MemberListItem.js.map +1 -1
- package/dist/components/ProjectMemberPickerDialog.js +211 -0
- package/dist/components/ProjectMemberPickerDialog.js.map +1 -0
- package/dist/hooks/index.js +1 -1
- package/dist/hooks/useMemberMutations.js +13 -13
- package/dist/hooks/useMemberMutations.js.map +1 -1
- package/dist/hooks/useProjectMemberMutations.js +104 -0
- package/dist/hooks/useProjectMemberMutations.js.map +1 -0
- package/dist/hooks/useProjectMembers.js +42 -0
- package/dist/hooks/useProjectMembers.js.map +1 -0
- package/dist/hooks/useWorkspaceMembers.js +60 -24
- package/dist/hooks/useWorkspaceMembers.js.map +1 -1
- package/dist/hooks/useWorkspacePermissions.js +4 -0
- package/dist/hooks/useWorkspacePermissions.js.map +1 -1
- package/dist/hooks/useWorkspacesEventEmitter.js.map +1 -1
- package/dist/index.js +16 -15
- package/dist/pages/ActivityListPage.js +5 -5
- package/dist/pages/InviteAcceptancePage.js +211 -207
- package/dist/pages/InviteAcceptancePage.js.map +1 -1
- package/dist/pages/MembersListPage.js +210 -208
- package/dist/pages/MembersListPage.js.map +1 -1
- package/dist/pages/PendingInvitesPage.js +124 -120
- package/dist/pages/PendingInvitesPage.js.map +1 -1
- package/dist/pages/ProjectDetailPage.js +249 -213
- package/dist/pages/ProjectDetailPage.js.map +1 -1
- package/dist/pages/ProjectMembersPage.js +265 -0
- package/dist/pages/ProjectMembersPage.js.map +1 -0
- package/dist/pages/ProjectsListPage.js +9 -9
- package/dist/pages/WorkspaceDetailPage.js +119 -111
- package/dist/pages/WorkspaceDetailPage.js.map +1 -1
- package/dist/pages/WorkspaceInvitePage.js +790 -0
- package/dist/pages/WorkspaceInvitePage.js.map +1 -0
- package/dist/pages/WorkspacesListPage.js +115 -100
- package/dist/pages/WorkspacesListPage.js.map +1 -1
- package/dist/utils/invitationDisplay.js +25 -0
- package/dist/utils/invitationDisplay.js.map +1 -0
- package/dist/utils/workspaceBulkInviteCsv.js +42 -0
- package/dist/utils/workspaceBulkInviteCsv.js.map +1 -0
- 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 {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
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
|
|
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:
|
|
25
|
-
|
|
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 ||
|
|
28
|
-
|
|
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 (!
|
|
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__ */
|
|
28
|
+
children: /* @__PURE__ */ y(S, {
|
|
38
29
|
className: "max-w-xl w-full",
|
|
39
|
-
children: [/* @__PURE__ */
|
|
30
|
+
children: [/* @__PURE__ */ v(T, { children: /* @__PURE__ */ y("div", {
|
|
40
31
|
className: "flex items-center gap-3",
|
|
41
|
-
children: [/* @__PURE__ */
|
|
32
|
+
children: [/* @__PURE__ */ v("div", {
|
|
42
33
|
className: "rounded-lg bg-primary/10 p-3",
|
|
43
|
-
children: /* @__PURE__ */
|
|
34
|
+
children: /* @__PURE__ */ v(m, {
|
|
44
35
|
className: "text-primary",
|
|
45
36
|
size: 24
|
|
46
37
|
})
|
|
47
|
-
}), /* @__PURE__ */
|
|
48
|
-
}) }), /* @__PURE__ */
|
|
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__ */
|
|
41
|
+
children: [/* @__PURE__ */ v("p", {
|
|
51
42
|
className: "text-sm text-muted-foreground",
|
|
52
|
-
children: t(
|
|
53
|
-
}), /* @__PURE__ */
|
|
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__ */
|
|
46
|
+
children: [/* @__PURE__ */ v(x, {
|
|
56
47
|
asChild: !0,
|
|
57
|
-
children: /* @__PURE__ */
|
|
58
|
-
href:
|
|
59
|
-
children: t(
|
|
48
|
+
children: /* @__PURE__ */ v("a", {
|
|
49
|
+
href: U,
|
|
50
|
+
children: t(l, "inviteAcceptance.signInButton", "Sign In")
|
|
60
51
|
})
|
|
61
|
-
}), /* @__PURE__ */
|
|
52
|
+
}), /* @__PURE__ */ y(x, {
|
|
62
53
|
variant: "outline",
|
|
63
|
-
onClick: () =>
|
|
64
|
-
children: [/* @__PURE__ */
|
|
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
|
|
71
|
-
|
|
61
|
+
let ne = () => {
|
|
62
|
+
V && X(V, {
|
|
72
63
|
onSuccess: () => {
|
|
73
|
-
|
|
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 (
|
|
81
|
-
if (
|
|
82
|
-
error:
|
|
83
|
-
onRetry: () =>
|
|
71
|
+
if (G) return /* @__PURE__ */ v(N, {});
|
|
72
|
+
if (K) return /* @__PURE__ */ v(P, {
|
|
73
|
+
error: K,
|
|
74
|
+
onRetry: () => q()
|
|
84
75
|
});
|
|
85
|
-
if (!
|
|
86
|
-
switch (
|
|
87
|
-
case "ACCEPTED": return /* @__PURE__ */
|
|
88
|
-
case "REJECTED": return /* @__PURE__ */
|
|
89
|
-
case "EXPIRED": return /* @__PURE__ */
|
|
90
|
-
case "CANCELLED": return /* @__PURE__ */
|
|
91
|
-
case "PENDING": return
|
|
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__ */
|
|
84
|
+
children: /* @__PURE__ */ y(S, {
|
|
94
85
|
className: "max-w-2xl w-full",
|
|
95
|
-
children: [/* @__PURE__ */
|
|
86
|
+
children: [/* @__PURE__ */ v(T, { children: /* @__PURE__ */ y("div", {
|
|
96
87
|
className: "flex items-center gap-3",
|
|
97
|
-
children: [/* @__PURE__ */
|
|
88
|
+
children: [/* @__PURE__ */ v("div", {
|
|
98
89
|
className: "p-3 rounded-lg bg-primary/10",
|
|
99
|
-
children: /* @__PURE__ */
|
|
90
|
+
children: /* @__PURE__ */ v(m, {
|
|
100
91
|
className: "text-primary",
|
|
101
92
|
size: 24
|
|
102
93
|
})
|
|
103
|
-
}), /* @__PURE__ */
|
|
94
|
+
}), /* @__PURE__ */ y("div", {
|
|
104
95
|
className: "flex-1",
|
|
105
|
-
children: [/* @__PURE__ */
|
|
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__ */
|
|
98
|
+
}) }), /* @__PURE__ */ y(C, {
|
|
108
99
|
className: "space-y-6",
|
|
109
|
-
children: [/* @__PURE__ */
|
|
100
|
+
children: [/* @__PURE__ */ y("div", {
|
|
110
101
|
className: "space-y-4 p-4 rounded-lg bg-muted/50",
|
|
111
102
|
children: [
|
|
112
|
-
/* @__PURE__ */
|
|
103
|
+
/* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("p", {
|
|
113
104
|
className: "text-sm font-medium text-muted-foreground",
|
|
114
|
-
children: t(
|
|
115
|
-
}), /* @__PURE__ */
|
|
105
|
+
children: t(l, "inviteAcceptance.emailAddressLabel", "Email Address")
|
|
106
|
+
}), /* @__PURE__ */ v("p", {
|
|
116
107
|
className: "text-lg font-medium mt-1",
|
|
117
|
-
children:
|
|
108
|
+
children: W.email
|
|
118
109
|
})] }),
|
|
119
|
-
/* @__PURE__ */
|
|
120
|
-
/* @__PURE__ */
|
|
110
|
+
/* @__PURE__ */ y("div", { children: [
|
|
111
|
+
/* @__PURE__ */ v("p", {
|
|
121
112
|
className: "text-sm font-medium text-muted-foreground",
|
|
122
|
-
children: t(
|
|
113
|
+
children: t(l, "inviteAcceptance.workspaceLabel", "Workspace")
|
|
123
114
|
}),
|
|
124
|
-
/* @__PURE__ */
|
|
115
|
+
/* @__PURE__ */ v("p", {
|
|
125
116
|
className: "text-lg font-medium mt-1 break-words",
|
|
126
|
-
children:
|
|
117
|
+
children: ee
|
|
127
118
|
}),
|
|
128
|
-
|
|
119
|
+
W.workspaceId ? /* @__PURE__ */ v("p", {
|
|
129
120
|
className: "mt-1 font-mono text-xs text-muted-foreground break-all",
|
|
130
|
-
children:
|
|
121
|
+
children: W.workspaceId
|
|
131
122
|
}) : null
|
|
132
123
|
] }),
|
|
133
|
-
|
|
124
|
+
W.expiresAt && /* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("p", {
|
|
134
125
|
className: "text-sm font-medium text-muted-foreground",
|
|
135
|
-
children: t(
|
|
136
|
-
}), /* @__PURE__ */
|
|
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__ */
|
|
129
|
+
children: [/* @__PURE__ */ v(f, {
|
|
139
130
|
size: 16,
|
|
140
131
|
className: "text-muted-foreground"
|
|
141
|
-
}), new Date(
|
|
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__ */
|
|
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(
|
|
152
|
-
}), /* @__PURE__ */
|
|
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__ */
|
|
145
|
+
children: Q.map((e, t) => /* @__PURE__ */ v(b, {
|
|
155
146
|
variant: "secondary",
|
|
156
147
|
children: e
|
|
157
|
-
}, `${
|
|
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__ */
|
|
163
|
+
/* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("p", {
|
|
160
164
|
className: "text-sm font-medium text-muted-foreground",
|
|
161
|
-
children: t(
|
|
162
|
-
}), /* @__PURE__ */
|
|
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:
|
|
168
|
+
children: W.id
|
|
165
169
|
})] })
|
|
166
170
|
]
|
|
167
|
-
}), /* @__PURE__ */
|
|
171
|
+
}), /* @__PURE__ */ y("div", {
|
|
168
172
|
className: "flex flex-col sm:flex-row gap-3 pt-4 border-t",
|
|
169
|
-
children: [/* @__PURE__ */
|
|
170
|
-
onClick:
|
|
171
|
-
disabled:
|
|
173
|
+
children: [/* @__PURE__ */ v(x, {
|
|
174
|
+
onClick: te,
|
|
175
|
+
disabled: Y || Z,
|
|
172
176
|
className: "flex-1",
|
|
173
177
|
size: "lg",
|
|
174
|
-
children:
|
|
175
|
-
}), /* @__PURE__ */
|
|
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:
|
|
178
|
-
disabled:
|
|
181
|
+
onClick: ne,
|
|
182
|
+
disabled: Y || Z,
|
|
179
183
|
className: "flex-1",
|
|
180
184
|
size: "lg",
|
|
181
|
-
children:
|
|
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__ */
|
|
191
|
+
default: return /* @__PURE__ */ v(F, {});
|
|
188
192
|
}
|
|
189
193
|
}
|
|
190
|
-
function
|
|
191
|
-
return /* @__PURE__ */
|
|
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__ */
|
|
197
|
+
children: /* @__PURE__ */ y(S, {
|
|
194
198
|
className: "max-w-2xl w-full",
|
|
195
|
-
children: [/* @__PURE__ */
|
|
199
|
+
children: [/* @__PURE__ */ v(T, { children: /* @__PURE__ */ y("div", {
|
|
196
200
|
className: "flex items-center gap-3",
|
|
197
|
-
children: [/* @__PURE__ */
|
|
201
|
+
children: [/* @__PURE__ */ v(D, { className: "size-12 rounded-lg" }), /* @__PURE__ */ y("div", {
|
|
198
202
|
className: "flex-1 space-y-2",
|
|
199
|
-
children: [/* @__PURE__ */
|
|
203
|
+
children: [/* @__PURE__ */ v(D, { className: "h-6 w-48" }), /* @__PURE__ */ v(D, { className: "h-4 w-64" })]
|
|
200
204
|
})]
|
|
201
|
-
}) }), /* @__PURE__ */
|
|
205
|
+
}) }), /* @__PURE__ */ y(C, {
|
|
202
206
|
className: "space-y-6",
|
|
203
|
-
children: [/* @__PURE__ */
|
|
207
|
+
children: [/* @__PURE__ */ y("div", {
|
|
204
208
|
className: "space-y-4 p-4 rounded-lg bg-muted/50",
|
|
205
|
-
children: [/* @__PURE__ */
|
|
209
|
+
children: [/* @__PURE__ */ y("div", {
|
|
206
210
|
className: "space-y-2",
|
|
207
|
-
children: [/* @__PURE__ */
|
|
208
|
-
}), /* @__PURE__ */
|
|
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__ */
|
|
214
|
+
children: [/* @__PURE__ */ v(D, { className: "h-4 w-24" }), /* @__PURE__ */ v(D, { className: "h-6 w-64" })]
|
|
211
215
|
})]
|
|
212
|
-
}), /* @__PURE__ */
|
|
216
|
+
}), /* @__PURE__ */ y("div", {
|
|
213
217
|
className: "flex gap-3 pt-4",
|
|
214
|
-
children: [/* @__PURE__ */
|
|
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
|
|
221
|
-
let { t: r } =
|
|
222
|
-
return /* @__PURE__ */
|
|
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__ */
|
|
228
|
+
children: /* @__PURE__ */ y(S, {
|
|
225
229
|
className: "max-w-2xl w-full",
|
|
226
|
-
children: [/* @__PURE__ */
|
|
230
|
+
children: [/* @__PURE__ */ v(T, { children: /* @__PURE__ */ y("div", {
|
|
227
231
|
className: "flex items-center gap-3",
|
|
228
|
-
children: [/* @__PURE__ */
|
|
232
|
+
children: [/* @__PURE__ */ v("div", {
|
|
229
233
|
className: "p-3 rounded-lg bg-destructive/10",
|
|
230
|
-
children: /* @__PURE__ */
|
|
234
|
+
children: /* @__PURE__ */ v(l, {
|
|
231
235
|
className: "text-destructive",
|
|
232
236
|
size: 24
|
|
233
237
|
})
|
|
234
|
-
}), /* @__PURE__ */
|
|
238
|
+
}), /* @__PURE__ */ y("div", {
|
|
235
239
|
className: "flex-1",
|
|
236
|
-
children: [/* @__PURE__ */
|
|
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__ */
|
|
242
|
+
}) }), /* @__PURE__ */ y(C, {
|
|
239
243
|
className: "space-y-4",
|
|
240
|
-
children: [/* @__PURE__ */
|
|
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__ */
|
|
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__ */
|
|
249
|
+
}), /* @__PURE__ */ v("p", {
|
|
246
250
|
className: "text-sm mt-1 text-destructive/90",
|
|
247
251
|
children: e.message
|
|
248
252
|
})] })]
|
|
249
|
-
}), /* @__PURE__ */
|
|
253
|
+
}), /* @__PURE__ */ y("div", {
|
|
250
254
|
className: "flex gap-3",
|
|
251
|
-
children: [/* @__PURE__ */
|
|
255
|
+
children: [/* @__PURE__ */ y(x, {
|
|
252
256
|
onClick: n,
|
|
253
257
|
className: "flex-1",
|
|
254
|
-
children: [/* @__PURE__ */ h
|
|
255
|
-
}), /* @__PURE__ */
|
|
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__ */
|
|
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
|
|
267
|
-
let { t: e } =
|
|
268
|
-
return /* @__PURE__ */
|
|
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__ */
|
|
274
|
+
children: /* @__PURE__ */ y(S, {
|
|
271
275
|
className: "max-w-2xl w-full",
|
|
272
|
-
children: [/* @__PURE__ */
|
|
276
|
+
children: [/* @__PURE__ */ v(T, { children: /* @__PURE__ */ y("div", {
|
|
273
277
|
className: "flex items-center gap-3",
|
|
274
|
-
children: [/* @__PURE__ */
|
|
278
|
+
children: [/* @__PURE__ */ v("div", {
|
|
275
279
|
className: "p-3 rounded-lg bg-muted",
|
|
276
|
-
children: /* @__PURE__ */
|
|
280
|
+
children: /* @__PURE__ */ v(l, {
|
|
277
281
|
className: "text-muted-foreground",
|
|
278
282
|
size: 24
|
|
279
283
|
})
|
|
280
|
-
}), /* @__PURE__ */
|
|
284
|
+
}), /* @__PURE__ */ y("div", {
|
|
281
285
|
className: "flex-1",
|
|
282
|
-
children: [/* @__PURE__ */
|
|
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__ */
|
|
288
|
+
}) }), /* @__PURE__ */ y(C, {
|
|
285
289
|
className: "space-y-4",
|
|
286
|
-
children: [/* @__PURE__ */
|
|
290
|
+
children: [/* @__PURE__ */ y("div", {
|
|
287
291
|
className: "flex gap-3 p-4 rounded-lg border border-border bg-muted/50",
|
|
288
|
-
children: [/* @__PURE__ */
|
|
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__ */
|
|
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__ */
|
|
299
|
+
}), /* @__PURE__ */ y(x, {
|
|
296
300
|
onClick: () => n("/workspaces/list"),
|
|
297
301
|
className: "w-full",
|
|
298
|
-
children: [/* @__PURE__ */
|
|
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
|
|
305
|
-
let { t: n } =
|
|
306
|
-
return /* @__PURE__ */
|
|
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__ */
|
|
312
|
+
children: /* @__PURE__ */ y(S, {
|
|
309
313
|
className: "max-w-2xl w-full",
|
|
310
|
-
children: [/* @__PURE__ */
|
|
314
|
+
children: [/* @__PURE__ */ v(T, { children: /* @__PURE__ */ y("div", {
|
|
311
315
|
className: "flex items-center gap-3",
|
|
312
|
-
children: [/* @__PURE__ */
|
|
316
|
+
children: [/* @__PURE__ */ v("div", {
|
|
313
317
|
className: "p-3 rounded-lg bg-status-success/10 transition-colors",
|
|
314
|
-
children: /* @__PURE__ */
|
|
318
|
+
children: /* @__PURE__ */ v(d, {
|
|
315
319
|
className: "text-status-success",
|
|
316
320
|
size: 24
|
|
317
321
|
})
|
|
318
|
-
}), /* @__PURE__ */
|
|
322
|
+
}), /* @__PURE__ */ y("div", {
|
|
319
323
|
className: "flex-1",
|
|
320
|
-
children: [/* @__PURE__ */
|
|
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__ */
|
|
326
|
+
}) }), /* @__PURE__ */ y(C, {
|
|
323
327
|
className: "space-y-4",
|
|
324
|
-
children: [/* @__PURE__ */
|
|
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__ */
|
|
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__ */
|
|
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__ */
|
|
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__ */
|
|
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
|
|
350
|
-
let { t: n } =
|
|
351
|
-
return /* @__PURE__ */
|
|
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__ */
|
|
357
|
+
children: /* @__PURE__ */ y(S, {
|
|
354
358
|
className: "max-w-2xl w-full",
|
|
355
|
-
children: [/* @__PURE__ */
|
|
359
|
+
children: [/* @__PURE__ */ v(T, { children: /* @__PURE__ */ y("div", {
|
|
356
360
|
className: "flex items-center gap-3",
|
|
357
|
-
children: [/* @__PURE__ */
|
|
361
|
+
children: [/* @__PURE__ */ v("div", {
|
|
358
362
|
className: "p-3 rounded-lg bg-muted",
|
|
359
|
-
children: /* @__PURE__ */
|
|
363
|
+
children: /* @__PURE__ */ v(g, {
|
|
360
364
|
className: "text-muted-foreground",
|
|
361
365
|
size: 24
|
|
362
366
|
})
|
|
363
|
-
}), /* @__PURE__ */
|
|
367
|
+
}), /* @__PURE__ */ y("div", {
|
|
364
368
|
className: "flex-1",
|
|
365
|
-
children: [/* @__PURE__ */
|
|
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__ */
|
|
371
|
+
}) }), /* @__PURE__ */ y(C, {
|
|
368
372
|
className: "space-y-4",
|
|
369
|
-
children: [/* @__PURE__ */
|
|
373
|
+
children: [/* @__PURE__ */ y("div", {
|
|
370
374
|
className: "flex gap-3 p-4 rounded-lg border border-border bg-muted/50",
|
|
371
|
-
children: [/* @__PURE__ */
|
|
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__ */
|
|
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__ */
|
|
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__ */
|
|
389
|
+
}), /* @__PURE__ */ y(x, {
|
|
386
390
|
onClick: () => r("/workspaces/list"),
|
|
387
391
|
className: "w-full",
|
|
388
|
-
children: [/* @__PURE__ */
|
|
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
|
|
395
|
-
let { t: n } =
|
|
396
|
-
return /* @__PURE__ */
|
|
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__ */
|
|
402
|
+
children: /* @__PURE__ */ y(S, {
|
|
399
403
|
className: "max-w-2xl w-full",
|
|
400
|
-
children: [/* @__PURE__ */
|
|
404
|
+
children: [/* @__PURE__ */ v(T, { children: /* @__PURE__ */ y("div", {
|
|
401
405
|
className: "flex items-center gap-3",
|
|
402
|
-
children: [/* @__PURE__ */
|
|
406
|
+
children: [/* @__PURE__ */ v("div", {
|
|
403
407
|
className: "p-3 rounded-lg bg-status-warning/10 transition-colors",
|
|
404
|
-
children: /* @__PURE__ */
|
|
408
|
+
children: /* @__PURE__ */ v(f, {
|
|
405
409
|
className: "text-status-warning",
|
|
406
410
|
size: 24
|
|
407
411
|
})
|
|
408
|
-
}), /* @__PURE__ */
|
|
412
|
+
}), /* @__PURE__ */ y("div", {
|
|
409
413
|
className: "flex-1",
|
|
410
|
-
children: [/* @__PURE__ */
|
|
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__ */
|
|
416
|
+
}) }), /* @__PURE__ */ y(C, {
|
|
413
417
|
className: "space-y-4",
|
|
414
|
-
children: [/* @__PURE__ */
|
|
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__ */
|
|
417
|
-
/* @__PURE__ */
|
|
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__ */
|
|
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__ */
|
|
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__ */
|
|
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__ */
|
|
447
|
+
}), /* @__PURE__ */ y(x, {
|
|
444
448
|
onClick: () => r("/workspaces/list"),
|
|
445
449
|
className: "w-full",
|
|
446
|
-
children: [/* @__PURE__ */
|
|
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
|
|
453
|
-
let { t: n } =
|
|
454
|
-
return /* @__PURE__ */
|
|
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__ */
|
|
460
|
+
children: /* @__PURE__ */ y(S, {
|
|
457
461
|
className: "max-w-2xl w-full",
|
|
458
|
-
children: [/* @__PURE__ */
|
|
462
|
+
children: [/* @__PURE__ */ v(T, { children: /* @__PURE__ */ y("div", {
|
|
459
463
|
className: "flex items-center gap-3",
|
|
460
|
-
children: [/* @__PURE__ */
|
|
464
|
+
children: [/* @__PURE__ */ v("div", {
|
|
461
465
|
className: "p-3 rounded-lg bg-destructive/10",
|
|
462
|
-
children: /* @__PURE__ */
|
|
466
|
+
children: /* @__PURE__ */ v(u, {
|
|
463
467
|
className: "text-destructive",
|
|
464
468
|
size: 24
|
|
465
469
|
})
|
|
466
|
-
}), /* @__PURE__ */
|
|
470
|
+
}), /* @__PURE__ */ y("div", {
|
|
467
471
|
className: "flex-1",
|
|
468
|
-
children: [/* @__PURE__ */
|
|
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__ */
|
|
474
|
+
}) }), /* @__PURE__ */ y(C, {
|
|
471
475
|
className: "space-y-4",
|
|
472
|
-
children: [/* @__PURE__ */
|
|
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__ */
|
|
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__ */
|
|
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__ */
|
|
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__ */
|
|
492
|
+
}), /* @__PURE__ */ y(x, {
|
|
489
493
|
onClick: () => r("/workspaces/list"),
|
|
490
494
|
className: "w-full",
|
|
491
|
-
children: [/* @__PURE__ */
|
|
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 {
|
|
502
|
+
export { M as InviteAcceptancePage };
|
|
499
503
|
|
|
500
504
|
//# sourceMappingURL=InviteAcceptancePage.js.map
|