@burdenoff/microfe-workspaces 2026.1109.1 → 2026.1110.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 +10 -9
- package/dist/WorkspacesRoutes.js +1 -2
- package/dist/components/CreateProjectDialog.js +22 -22
- package/dist/components/CreateWorkspaceDialog.js +8 -9
- package/dist/components/InviteMemberDialog.js +18 -23
- package/dist/components/MemberListItem.js +16 -17
- package/dist/components/ProjectCard.js +14 -15
- package/dist/components/ProjectMemberPickerDialog.js +92 -93
- package/dist/components/RenameProjectDialog.js +12 -17
- package/dist/components/WorkspaceCard.js +6 -7
- package/dist/components/WorkspaceContextPathSync.js +4 -5
- package/dist/components/WorkspacesErrorBoundary.js +6 -11
- package/dist/components/index.js +8 -7
- package/dist/components/tags/ProjectTagsWidget.js +56 -57
- package/dist/components/tags/WorkspaceTagsEditor.js +2 -3
- package/dist/constants/permissions.js +1 -2
- package/dist/generated/global-operations.js +1 -2
- package/dist/generated/wspace-operations.js +1 -2
- package/dist/hooks/index.js +9 -8
- package/dist/hooks/useMemberMutations.js +165 -166
- package/dist/hooks/useOpenWorkspace.js +1 -2
- package/dist/hooks/useOrgsWithPermission.js +2 -3
- package/dist/hooks/usePendingInvitations.d.ts +1 -1
- package/dist/hooks/usePendingInvitations.js +2 -3
- package/dist/hooks/useProjectMemberMutations.js +23 -24
- package/dist/hooks/useProjectMembers.d.ts +2 -2
- package/dist/hooks/useProjectMembers.js +2 -3
- package/dist/hooks/useProjectMutations.js +68 -69
- package/dist/hooks/useProjects.d.ts +3 -3
- package/dist/hooks/useProjects.js +5 -6
- package/dist/hooks/useScopedNavigation.js +1 -2
- package/dist/hooks/useTenants.d.ts +2 -2
- package/dist/hooks/useTenants.js +3 -4
- package/dist/hooks/useTr.js +1 -2
- package/dist/hooks/useWorkspaceActivity.d.ts +1 -1
- package/dist/hooks/useWorkspaceActivity.js +2 -3
- package/dist/hooks/useWorkspaceMembers.d.ts +5 -5
- package/dist/hooks/useWorkspaceMembers.js +7 -8
- package/dist/hooks/useWorkspaceMutations.js +70 -71
- package/dist/hooks/useWorkspacePermissions.js +1 -2
- package/dist/hooks/useWorkspaceRoles.d.ts +1 -1
- package/dist/hooks/useWorkspaceRoles.js +3 -4
- package/dist/hooks/useWorkspaces.d.ts +3 -3
- package/dist/hooks/useWorkspaces.js +4 -5
- package/dist/hooks/useWorkspacesEventEmitter.js +1 -2
- package/dist/hooks/useWorkspacesPageView.js +1 -2
- package/dist/index.js +15 -15
- package/dist/pages/ActivityListPage.js +28 -29
- package/dist/pages/CreateWorkspacePage.js +137 -138
- package/dist/pages/InviteAcceptancePage.js +65 -66
- package/dist/pages/MembersListPage.js +203 -204
- package/dist/pages/PendingInvitesPage.js +63 -64
- package/dist/pages/ProjectDetailPage.js +71 -72
- package/dist/pages/ProjectMembersPage.js +116 -117
- package/dist/pages/ProjectsListPage.js +62 -67
- package/dist/pages/WorkspaceDetailPage.js +153 -154
- package/dist/pages/WorkspaceInvitePage.js +88 -92
- package/dist/pages/WorkspaceSettingsPage.js +32 -33
- package/dist/pages/WorkspacesListPage.js +40 -41
- package/dist/pages/dashboard/DashboardCustomizer.js +98 -94
- package/dist/pages/dashboard/DashboardGrid.js +1 -2
- package/dist/pages/dashboard/DashboardPage.js +12 -13
- package/dist/pages/dashboard/WidgetWrapper.js +3 -3
- package/dist/pages/dashboard/config.js +3 -4
- package/dist/pages/dashboard/hooks/useDashboardData.d.ts +5 -5
- package/dist/pages/dashboard/hooks/useDashboardData.js +9 -10
- package/dist/pages/dashboard/hooks/useDashboardPreferences.js +7 -8
- package/dist/pages/dashboard/reorder.js +11 -14
- package/dist/pages/dashboard/widgets/AgentsWidget.js +13 -14
- package/dist/pages/dashboard/widgets/GroupsWidget.js +9 -10
- package/dist/pages/dashboard/widgets/MembersWidget.js +10 -11
- package/dist/pages/dashboard/widgets/ProjectsWidget.js +11 -12
- package/dist/pages/dashboard/widgets/QuickActionsWidget.js +28 -29
- package/dist/pages/dashboard/widgets/RecentActivityWidget.js +22 -23
- package/dist/pages/dashboard/widgets/SessionsWidget.js +28 -29
- package/dist/pages/dashboard/widgets/StorageWidget.js +19 -20
- package/dist/pages/dashboard/widgets/TagCloudWidget.js +9 -10
- package/dist/pages/dashboard/widgets/TipsWidget.js +5 -6
- package/dist/pages/dashboard/widgets/UpcomingEventsWidget.js +17 -18
- package/dist/pages/dashboard/widgets/VibesWidget.js +13 -14
- package/dist/pages/dashboard/widgets/WelcomeWidget.js +11 -12
- package/dist/pages/dashboard/widgets/WorkflowRunsWidget.js +16 -17
- package/dist/pages/dashboard/widgets/WorkflowStatsWidget.js +11 -12
- package/dist/pages/dashboard/widgets/WorkflowsOverviewWidget.js +17 -18
- package/dist/pages/dashboard/widgets/WorkspacesWidget.js +7 -8
- package/dist/pages/dashboard/widgets/tipsCatalog.js +1 -2
- package/dist/providers/WorkspacesProvider.js +1 -2
- package/dist/store/workspacesStore.d.ts +1 -1
- package/dist/store/workspacesStore.js +1 -2
- package/dist/test/happydom.d.ts +1 -0
- package/dist/translations/en.js +1 -2
- package/dist/utils/formatters.js +1 -2
- package/dist/utils/i18n.js +1 -2
- package/dist/utils/invitationDisplay.js +1 -2
- package/dist/utils/nativeBridge.js +1 -2
- package/dist/utils/pinnedRequest.js +2 -3
- package/dist/utils/projectTags.js +2 -3
- package/dist/utils/slug.js +1 -2
- package/dist/utils/telemetryError.js +13 -16
- package/dist/utils/tokenHelpers.js +1 -2
- package/dist/utils/workspaceBulkInviteCsv.js +3 -8
- package/package.json +72 -55
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
1
|
+
import { tWithFallback as e } from "../utils/i18n.js";
|
|
2
|
+
import { getProjectDisplayNames as t, getRoleDisplayNames as n, getWorkspaceDisplayName as r } from "../utils/invitationDisplay.js";
|
|
3
|
+
import { useWorkspacesContext as i } from "../providers/WorkspacesProvider.js";
|
|
4
|
+
import { useAcceptInvitation as a, useRejectInvitation as o } from "../hooks/useMemberMutations.js";
|
|
5
|
+
import { useMyPendingInvitations as s } from "../hooks/usePendingInvitations.js";
|
|
6
|
+
import { useWorkspacesPageView as c } from "../hooks/useWorkspacesPageView.js";
|
|
7
7
|
import { useMemo as l, useState as u } from "react";
|
|
8
8
|
import { AlertTriangle as d, CheckCircle as f, Home as p, Mail as m, RefreshCw as h, XCircle as g } from "lucide-react";
|
|
9
9
|
import { jsx as _, jsxs as v } from "react/jsx-runtime";
|
|
@@ -11,7 +11,7 @@ import { Badge as y, Button as b, GlassCard as x, IllustratedEmptyState as S, Pa
|
|
|
11
11
|
import { useI18n as E } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
|
|
12
12
|
import { useNavigate as D } from "react-router";
|
|
13
13
|
import { ActorIdentity as O, useActorProfiles as k } from "@burdenoff/fe-libs/shared";
|
|
14
|
-
|
|
14
|
+
// src/pages/PendingInvitesPage.tsx
|
|
15
15
|
function A(e) {
|
|
16
16
|
if (!e) return null;
|
|
17
17
|
let t = new Date(e);
|
|
@@ -24,32 +24,32 @@ function A(e) {
|
|
|
24
24
|
});
|
|
25
25
|
}
|
|
26
26
|
function j() {
|
|
27
|
-
|
|
28
|
-
let { t: j } = E(), M = D(), { currentUser: N, authToken: P, apiGatewayUrl: F, organizationId: I, basePath: L = "/workspaces" } =
|
|
27
|
+
c("workspaces.pending-invites");
|
|
28
|
+
let { t: j } = E(), M = D(), { currentUser: N, authToken: P, apiGatewayUrl: F, organizationId: I, basePath: L = "/workspaces" } = i(), [R, z] = u(null), [B, V] = u(null), { data: H = [], isLoading: U, error: W } = s(N?.email), G = l(() => [...H].sort((e, t) => new Date(t.createdAt).getTime() - new Date(e.createdAt).getTime()), [H]), K = l(() => G.flatMap((e) => e.invitedById ? [{
|
|
29
29
|
actorId: e.invitedById,
|
|
30
30
|
actorType: "user"
|
|
31
|
-
}] : []), [G]), {
|
|
31
|
+
}] : []), [G]), q = k(K, {
|
|
32
32
|
apiGatewayUrl: F,
|
|
33
33
|
authToken: P,
|
|
34
34
|
orgId: I
|
|
35
|
-
}), { mutate:
|
|
35
|
+
}), { mutate: J, isPending: Y } = a(), { mutate: X, isPending: Z } = o(), Q = Y || Z, $ = () => {
|
|
36
36
|
M(`${L}/list`);
|
|
37
|
-
},
|
|
38
|
-
z(
|
|
37
|
+
}, ee = (t) => {
|
|
38
|
+
z(t), V(null), J(t, {
|
|
39
39
|
onSuccess: () => {
|
|
40
40
|
z(null);
|
|
41
41
|
},
|
|
42
|
-
onError: (
|
|
43
|
-
z(null), V(
|
|
42
|
+
onError: (t) => {
|
|
43
|
+
z(null), V(t instanceof Error ? t.message : e(j, "pendingInvites.acceptError", "Failed to accept invitation"));
|
|
44
44
|
}
|
|
45
45
|
});
|
|
46
|
-
},
|
|
47
|
-
z(
|
|
46
|
+
}, te = (t) => {
|
|
47
|
+
z(t), V(null), X(t, {
|
|
48
48
|
onSuccess: () => {
|
|
49
49
|
z(null);
|
|
50
50
|
},
|
|
51
|
-
onError: (
|
|
52
|
-
z(null), V(
|
|
51
|
+
onError: (t) => {
|
|
52
|
+
z(null), V(t instanceof Error ? t.message : e(j, "pendingInvites.rejectError", "Failed to reject invitation"));
|
|
53
53
|
}
|
|
54
54
|
});
|
|
55
55
|
};
|
|
@@ -63,18 +63,18 @@ function j() {
|
|
|
63
63
|
/* @__PURE__ */ _(d, { className: "mx-auto mb-3 size-10 text-text-secondary" }),
|
|
64
64
|
/* @__PURE__ */ _("h1", {
|
|
65
65
|
className: "text-2xl font-bold",
|
|
66
|
-
children:
|
|
66
|
+
children: e(j, "pendingInvites.signInTitle", "Sign in to view your pending invites")
|
|
67
67
|
}),
|
|
68
68
|
/* @__PURE__ */ _("p", {
|
|
69
69
|
className: "mt-2 text-text-secondary",
|
|
70
|
-
children:
|
|
70
|
+
children: e(j, "pendingInvites.signInDescription", "You need an authenticated account before you can review or respond to workspace invitations.")
|
|
71
71
|
}),
|
|
72
72
|
/* @__PURE__ */ _("div", {
|
|
73
73
|
className: "mt-4 flex justify-center",
|
|
74
74
|
children: /* @__PURE__ */ v(b, {
|
|
75
|
-
onClick:
|
|
75
|
+
onClick: $,
|
|
76
76
|
variant: "outline",
|
|
77
|
-
children: [/* @__PURE__ */ _(p, { className: "mr-2 size-4" }),
|
|
77
|
+
children: [/* @__PURE__ */ _(p, { className: "mr-2 size-4" }), e(j, "pendingInvites.backToWorkspaces", "Back to Workspaces")]
|
|
78
78
|
})
|
|
79
79
|
})
|
|
80
80
|
]
|
|
@@ -89,10 +89,10 @@ function j() {
|
|
|
89
89
|
className: "flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between",
|
|
90
90
|
children: [/* @__PURE__ */ v("div", { children: [/* @__PURE__ */ _("h1", {
|
|
91
91
|
className: "text-2xl sm:text-3xl font-bold",
|
|
92
|
-
children:
|
|
92
|
+
children: e(j, "pendingInvites.pageTitle", "Pending Invites")
|
|
93
93
|
}), /* @__PURE__ */ _("p", {
|
|
94
94
|
className: "text-sm sm:text-base text-text-secondary",
|
|
95
|
-
children:
|
|
95
|
+
children: e(j, "pendingInvites.pageSubtitle", "Review and respond to workspace invitations sent to your account.")
|
|
96
96
|
})] }), /* @__PURE__ */ v("div", {
|
|
97
97
|
className: "flex items-center gap-2",
|
|
98
98
|
children: [/* @__PURE__ */ _(y, {
|
|
@@ -100,19 +100,19 @@ function j() {
|
|
|
100
100
|
children: G.length
|
|
101
101
|
}), /* @__PURE__ */ v(b, {
|
|
102
102
|
variant: "outline",
|
|
103
|
-
onClick:
|
|
104
|
-
children: [/* @__PURE__ */ _(p, { className: "mr-2 size-4" }),
|
|
103
|
+
onClick: $,
|
|
104
|
+
children: [/* @__PURE__ */ _(p, { className: "mr-2 size-4" }), e(j, "pendingInvites.viewWorkspaces", "View Workspaces")]
|
|
105
105
|
})]
|
|
106
106
|
})]
|
|
107
107
|
}),
|
|
108
|
-
/* @__PURE__ */ _(w, { children:
|
|
108
|
+
/* @__PURE__ */ _(w, { children: e(j, "pendingInvites.purpose", "These are workspace invitations sent to your email but not yet answered. Accepting one adds you to that workspace (with the roles and project access shown); rejecting declines it. Invitations expire, so respond to the ones you want before their expiry date.") }),
|
|
109
109
|
B ? /* @__PURE__ */ v("div", {
|
|
110
110
|
className: "flex items-start gap-2 rounded-lg border border-status-error-border/30 bg-status-error-bg/10 p-4 text-sm text-status-error-text",
|
|
111
111
|
children: [/* @__PURE__ */ _(d, { className: "mt-0.5 size-4 shrink-0" }), /* @__PURE__ */ _("span", { children: B })]
|
|
112
112
|
}) : null,
|
|
113
113
|
W ? /* @__PURE__ */ _("div", {
|
|
114
114
|
className: "rounded-lg border border-status-error-border/30 bg-status-error-bg/10 p-4 text-sm text-status-error-text",
|
|
115
|
-
children: W instanceof Error ? W.message :
|
|
115
|
+
children: W instanceof Error ? W.message : e(j, "pendingInvites.loadError", "Failed to load pending invitations")
|
|
116
116
|
}) : null,
|
|
117
117
|
U ? /* @__PURE__ */ _("div", {
|
|
118
118
|
className: "space-y-4",
|
|
@@ -130,15 +130,15 @@ function j() {
|
|
|
130
130
|
}, t))
|
|
131
131
|
}) : G.length === 0 ? /* @__PURE__ */ _(S, {
|
|
132
132
|
illustration: "empty-notifications",
|
|
133
|
-
title:
|
|
134
|
-
description:
|
|
133
|
+
title: e(j, "pendingInvites.emptyTitle", "No pending invites"),
|
|
134
|
+
description: e(j, "pendingInvites.emptyDescription", "When someone invites you to a workspace, it will appear here.")
|
|
135
135
|
}) : /* @__PURE__ */ _("div", {
|
|
136
136
|
className: "space-y-4",
|
|
137
|
-
children: G.map((
|
|
138
|
-
let
|
|
137
|
+
children: G.map((i, a) => {
|
|
138
|
+
let o = i.invitedById ? q[i.invitedById] : void 0, s = o?.displayName || o?.email || i.invitedById || "—", c = A(i.expiresAt), l = A(i.createdAt), u = r(i), d = n(i), p = t(i), S = R === i.id && Q;
|
|
139
139
|
return /* @__PURE__ */ _(x, {
|
|
140
140
|
treatment: "insight",
|
|
141
|
-
glow:
|
|
141
|
+
glow: a === 0,
|
|
142
142
|
className: "border-border-seam p-5",
|
|
143
143
|
children: /* @__PURE__ */ v("div", {
|
|
144
144
|
className: "flex flex-col gap-4 lg:flex-row lg:items-start lg:justify-between",
|
|
@@ -149,10 +149,10 @@ function j() {
|
|
|
149
149
|
className: "flex flex-wrap items-center gap-2",
|
|
150
150
|
children: [/* @__PURE__ */ v("div", {
|
|
151
151
|
className: "flex items-center gap-2 font-semibold text-lg",
|
|
152
|
-
children: [/* @__PURE__ */ _(m, { className: "size-4 text-primary" }), /* @__PURE__ */ _("span", { children:
|
|
152
|
+
children: [/* @__PURE__ */ _(m, { className: "size-4 text-primary" }), /* @__PURE__ */ _("span", { children: i.email })]
|
|
153
153
|
}), /* @__PURE__ */ _(y, {
|
|
154
154
|
variant: "secondary",
|
|
155
|
-
children:
|
|
155
|
+
children: i.status
|
|
156
156
|
})]
|
|
157
157
|
}),
|
|
158
158
|
/* @__PURE__ */ v("dl", {
|
|
@@ -161,90 +161,89 @@ function j() {
|
|
|
161
161
|
/* @__PURE__ */ v("div", { children: [
|
|
162
162
|
/* @__PURE__ */ _("dt", {
|
|
163
163
|
className: "font-medium text-text-primary",
|
|
164
|
-
children:
|
|
164
|
+
children: e(j, "pendingInvites.workspaceLabel", "Workspace")
|
|
165
165
|
}),
|
|
166
166
|
/* @__PURE__ */ _("dd", {
|
|
167
167
|
className: "break-words font-medium text-text-primary",
|
|
168
168
|
children: u
|
|
169
169
|
}),
|
|
170
|
-
|
|
170
|
+
i.workspaceId ? /* @__PURE__ */ _("dd", {
|
|
171
171
|
className: "mt-1 break-all font-mono text-xs text-text-secondary",
|
|
172
|
-
children:
|
|
172
|
+
children: i.workspaceId
|
|
173
173
|
}) : null
|
|
174
174
|
] }),
|
|
175
175
|
/* @__PURE__ */ v("div", { children: [/* @__PURE__ */ _("dt", {
|
|
176
176
|
className: "font-medium text-text-primary",
|
|
177
|
-
children:
|
|
177
|
+
children: e(j, "pendingInvites.invitedByLabel", "Invited by")
|
|
178
178
|
}), /* @__PURE__ */ _("dd", {
|
|
179
179
|
className: "break-all",
|
|
180
|
-
children:
|
|
181
|
-
profile:
|
|
180
|
+
children: o ? /* @__PURE__ */ _(O, {
|
|
181
|
+
profile: o,
|
|
182
182
|
variant: "inline",
|
|
183
183
|
hideIdDrilldown: !0
|
|
184
184
|
}) : /* @__PURE__ */ _("span", {
|
|
185
185
|
className: "font-medium text-text-primary",
|
|
186
|
-
children:
|
|
186
|
+
children: s
|
|
187
187
|
})
|
|
188
188
|
})] }),
|
|
189
189
|
/* @__PURE__ */ v("div", { children: [/* @__PURE__ */ _("dt", {
|
|
190
190
|
className: "font-medium text-text-primary",
|
|
191
|
-
children:
|
|
191
|
+
children: e(j, "pendingInvites.receivedLabel", "Received")
|
|
192
192
|
}), /* @__PURE__ */ _("dd", { children: l ?? "—" })] }),
|
|
193
193
|
/* @__PURE__ */ v("div", { children: [/* @__PURE__ */ _("dt", {
|
|
194
194
|
className: "font-medium text-text-primary",
|
|
195
|
-
children:
|
|
196
|
-
}), /* @__PURE__ */ _("dd", { children:
|
|
195
|
+
children: e(j, "pendingInvites.expiresLabel", "Expires")
|
|
196
|
+
}), /* @__PURE__ */ _("dd", { children: c ?? "—" })] })
|
|
197
197
|
]
|
|
198
198
|
}),
|
|
199
199
|
/* @__PURE__ */ v("div", { children: [/* @__PURE__ */ _("p", {
|
|
200
200
|
className: "text-sm font-medium text-text-primary mb-2",
|
|
201
|
-
children:
|
|
201
|
+
children: e(j, "pendingInvites.rolesLabel", "Roles")
|
|
202
202
|
}), /* @__PURE__ */ _("div", {
|
|
203
203
|
className: "flex flex-wrap gap-2",
|
|
204
|
-
children: d.length > 0 ? d.map((
|
|
204
|
+
children: d.length > 0 ? d.map((e, t) => /* @__PURE__ */ _(y, {
|
|
205
205
|
variant: "outline",
|
|
206
|
-
children:
|
|
207
|
-
}, `${
|
|
206
|
+
children: e
|
|
207
|
+
}, `${i.id}-${i.roleIds[t] ?? e}`)) : /* @__PURE__ */ _("span", {
|
|
208
208
|
className: "text-sm text-text-secondary",
|
|
209
|
-
children:
|
|
209
|
+
children: e(j, "pendingInvites.noRoles", "No explicit roles assigned")
|
|
210
210
|
})
|
|
211
211
|
})] }),
|
|
212
212
|
/* @__PURE__ */ v("div", { children: [/* @__PURE__ */ _("p", {
|
|
213
213
|
className: "text-sm font-medium text-text-primary mb-2",
|
|
214
|
-
children:
|
|
214
|
+
children: e(j, "pendingInvites.projectsLabel", "Projects")
|
|
215
215
|
}), /* @__PURE__ */ _("div", {
|
|
216
216
|
className: "flex flex-wrap gap-2",
|
|
217
|
-
children: p.length > 0 ? p.map((
|
|
217
|
+
children: p.length > 0 ? p.map((e, t) => /* @__PURE__ */ _(y, {
|
|
218
218
|
variant: "secondary",
|
|
219
|
-
children:
|
|
220
|
-
}, `${
|
|
219
|
+
children: e
|
|
220
|
+
}, `${i.id}-project-${e}-${t}`)) : /* @__PURE__ */ _("span", {
|
|
221
221
|
className: "text-sm text-text-secondary",
|
|
222
|
-
children:
|
|
222
|
+
children: e(j, "pendingInvites.noProjects", "No project access will be granted automatically")
|
|
223
223
|
})
|
|
224
224
|
})] })
|
|
225
225
|
]
|
|
226
226
|
}), /* @__PURE__ */ v("div", {
|
|
227
227
|
className: "flex flex-col gap-2 sm:flex-row lg:flex-col lg:min-w-44",
|
|
228
228
|
children: [/* @__PURE__ */ v(b, {
|
|
229
|
-
onClick: () =>
|
|
230
|
-
disabled:
|
|
229
|
+
onClick: () => ee(i.id),
|
|
230
|
+
disabled: Q,
|
|
231
231
|
className: "w-full",
|
|
232
|
-
children: [S &&
|
|
232
|
+
children: [S && Y ? /* @__PURE__ */ _(h, { className: "mr-2 size-4 animate-spin" }) : /* @__PURE__ */ _(f, { className: "mr-2 size-4" }), e(j, "pendingInvites.acceptButton", "Accept")]
|
|
233
233
|
}), /* @__PURE__ */ v(b, {
|
|
234
234
|
variant: "outline",
|
|
235
|
-
onClick: () =>
|
|
236
|
-
disabled:
|
|
235
|
+
onClick: () => te(i.id),
|
|
236
|
+
disabled: Q,
|
|
237
237
|
className: "w-full",
|
|
238
|
-
children: [S &&
|
|
238
|
+
children: [S && Z ? /* @__PURE__ */ _(h, { className: "mr-2 size-4 animate-spin" }) : /* @__PURE__ */ _(g, { className: "mr-2 size-4" }), e(j, "pendingInvites.rejectButton", "Reject")]
|
|
239
239
|
})]
|
|
240
240
|
})]
|
|
241
241
|
})
|
|
242
|
-
},
|
|
242
|
+
}, i.id);
|
|
243
243
|
})
|
|
244
244
|
})
|
|
245
245
|
]
|
|
246
246
|
})
|
|
247
247
|
});
|
|
248
248
|
}
|
|
249
|
-
//#endregion
|
|
250
249
|
export { j as PendingInvitesPage };
|