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