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