@burdenoff/microfe-workspaces 2026.1108.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.
Files changed (102) hide show
  1. package/dist/WorkspacesRoot.js +10 -9
  2. package/dist/WorkspacesRoutes.js +1 -2
  3. package/dist/components/CreateProjectDialog.js +22 -22
  4. package/dist/components/CreateWorkspaceDialog.js +8 -9
  5. package/dist/components/InviteMemberDialog.js +18 -23
  6. package/dist/components/MemberListItem.js +16 -17
  7. package/dist/components/ProjectCard.js +14 -15
  8. package/dist/components/ProjectMemberPickerDialog.js +92 -93
  9. package/dist/components/RenameProjectDialog.js +12 -17
  10. package/dist/components/WorkspaceCard.js +6 -7
  11. package/dist/components/WorkspaceContextPathSync.js +4 -5
  12. package/dist/components/WorkspacesErrorBoundary.js +6 -11
  13. package/dist/components/index.js +8 -7
  14. package/dist/components/tags/ProjectTagsWidget.js +56 -57
  15. package/dist/components/tags/WorkspaceTagsEditor.js +2 -3
  16. package/dist/constants/permissions.js +1 -2
  17. package/dist/generated/global-operations.js +1 -2
  18. package/dist/generated/wspace-operations.js +1 -2
  19. package/dist/hooks/index.js +9 -8
  20. package/dist/hooks/useMemberMutations.js +165 -166
  21. package/dist/hooks/useOpenWorkspace.js +1 -2
  22. package/dist/hooks/useOrgsWithPermission.js +2 -3
  23. package/dist/hooks/usePendingInvitations.d.ts +1 -1
  24. package/dist/hooks/usePendingInvitations.js +2 -3
  25. package/dist/hooks/useProjectMemberMutations.js +23 -24
  26. package/dist/hooks/useProjectMembers.d.ts +2 -2
  27. package/dist/hooks/useProjectMembers.js +2 -3
  28. package/dist/hooks/useProjectMutations.js +68 -69
  29. package/dist/hooks/useProjects.d.ts +3 -3
  30. package/dist/hooks/useProjects.js +5 -6
  31. package/dist/hooks/useScopedNavigation.js +1 -2
  32. package/dist/hooks/useTenants.d.ts +2 -2
  33. package/dist/hooks/useTenants.js +3 -4
  34. package/dist/hooks/useTr.js +1 -2
  35. package/dist/hooks/useWorkspaceActivity.d.ts +1 -1
  36. package/dist/hooks/useWorkspaceActivity.js +2 -3
  37. package/dist/hooks/useWorkspaceMembers.d.ts +5 -5
  38. package/dist/hooks/useWorkspaceMembers.js +7 -8
  39. package/dist/hooks/useWorkspaceMutations.js +70 -71
  40. package/dist/hooks/useWorkspacePermissions.js +1 -2
  41. package/dist/hooks/useWorkspaceRoles.d.ts +1 -1
  42. package/dist/hooks/useWorkspaceRoles.js +3 -4
  43. package/dist/hooks/useWorkspaces.d.ts +3 -3
  44. package/dist/hooks/useWorkspaces.js +4 -5
  45. package/dist/hooks/useWorkspacesEventEmitter.js +1 -2
  46. package/dist/hooks/useWorkspacesPageView.js +1 -2
  47. package/dist/index.js +15 -15
  48. package/dist/pages/ActivityListPage.js +28 -29
  49. package/dist/pages/CreateWorkspacePage.js +137 -138
  50. package/dist/pages/InviteAcceptancePage.js +65 -66
  51. package/dist/pages/MembersListPage.js +203 -204
  52. package/dist/pages/PendingInvitesPage.js +63 -64
  53. package/dist/pages/ProjectDetailPage.js +71 -72
  54. package/dist/pages/ProjectMembersPage.js +116 -117
  55. package/dist/pages/ProjectsListPage.js +62 -67
  56. package/dist/pages/WorkspaceDetailPage.js +153 -154
  57. package/dist/pages/WorkspaceInvitePage.js +88 -92
  58. package/dist/pages/WorkspaceSettingsPage.js +32 -33
  59. package/dist/pages/WorkspacesListPage.js +40 -41
  60. package/dist/pages/dashboard/DashboardCustomizer.js +98 -94
  61. package/dist/pages/dashboard/DashboardGrid.js +1 -2
  62. package/dist/pages/dashboard/DashboardPage.js +12 -13
  63. package/dist/pages/dashboard/WidgetWrapper.js +21 -21
  64. package/dist/pages/dashboard/config.js +3 -4
  65. package/dist/pages/dashboard/hooks/useDashboardData.d.ts +5 -5
  66. package/dist/pages/dashboard/hooks/useDashboardData.js +9 -10
  67. package/dist/pages/dashboard/hooks/useDashboardPreferences.js +7 -8
  68. package/dist/pages/dashboard/reorder.js +11 -14
  69. package/dist/pages/dashboard/widgets/AgentsWidget.js +13 -14
  70. package/dist/pages/dashboard/widgets/GroupsWidget.js +9 -10
  71. package/dist/pages/dashboard/widgets/MembersWidget.js +10 -11
  72. package/dist/pages/dashboard/widgets/ProjectsWidget.js +11 -12
  73. package/dist/pages/dashboard/widgets/QuickActionsWidget.js +28 -29
  74. package/dist/pages/dashboard/widgets/RecentActivityWidget.js +22 -23
  75. package/dist/pages/dashboard/widgets/SessionsWidget.js +28 -29
  76. package/dist/pages/dashboard/widgets/StorageWidget.js +19 -20
  77. package/dist/pages/dashboard/widgets/TagCloudWidget.js +9 -10
  78. package/dist/pages/dashboard/widgets/TipsWidget.js +5 -6
  79. package/dist/pages/dashboard/widgets/UpcomingEventsWidget.js +17 -18
  80. package/dist/pages/dashboard/widgets/VibesWidget.js +13 -14
  81. package/dist/pages/dashboard/widgets/WelcomeWidget.js +12 -13
  82. package/dist/pages/dashboard/widgets/WorkflowRunsWidget.js +16 -17
  83. package/dist/pages/dashboard/widgets/WorkflowStatsWidget.js +11 -12
  84. package/dist/pages/dashboard/widgets/WorkflowsOverviewWidget.js +17 -18
  85. package/dist/pages/dashboard/widgets/WorkspacesWidget.js +7 -8
  86. package/dist/pages/dashboard/widgets/tipsCatalog.js +1 -2
  87. package/dist/providers/WorkspacesProvider.js +1 -2
  88. package/dist/store/workspacesStore.d.ts +1 -1
  89. package/dist/store/workspacesStore.js +1 -2
  90. package/dist/test/happydom.d.ts +1 -0
  91. package/dist/translations/en.js +1 -2
  92. package/dist/utils/formatters.js +1 -2
  93. package/dist/utils/i18n.js +1 -2
  94. package/dist/utils/invitationDisplay.js +1 -2
  95. package/dist/utils/nativeBridge.js +1 -2
  96. package/dist/utils/pinnedRequest.js +2 -3
  97. package/dist/utils/projectTags.js +2 -3
  98. package/dist/utils/slug.js +1 -2
  99. package/dist/utils/telemetryError.js +13 -16
  100. package/dist/utils/tokenHelpers.js +1 -2
  101. package/dist/utils/workspaceBulkInviteCsv.js +3 -8
  102. package/package.json +72 -55
@@ -1,9 +1,9 @@
1
- import { useWorkspacesContext as e } from "../providers/WorkspacesProvider.js";
2
- import { useMyPendingInvitations as t } from "../hooks/usePendingInvitations.js";
3
- import { tWithFallback as n } from "../utils/i18n.js";
4
- import { useWorkspacesPageView as r } from "../hooks/useWorkspacesPageView.js";
5
- import { useAcceptInvitation as i, useRejectInvitation as a } from "../hooks/useMemberMutations.js";
6
- import { getProjectDisplayNames as o, getRoleDisplayNames as s, getWorkspaceDisplayName as c } from "../utils/invitationDisplay.js";
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
- //#region src/pages/PendingInvitesPage.tsx
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
- r("workspaces.pending-invites");
28
- let { t: j } = E(), M = D(), { currentUser: N, authToken: P, apiGatewayUrl: F, organizationId: I, basePath: L = "/workspaces" } = e(), [R, z] = u(null), [B, V] = u(null), { data: H = [], isLoading: U, error: W } = t(N?.email), G = l(() => [...H].sort((e, t) => new Date(t.createdAt).getTime() - new Date(e.createdAt).getTime()), [H]), K = k(l(() => G.flatMap((e) => e.invitedById ? [{
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: q, isPending: J } = i(), { mutate: Y, isPending: X } = a(), Z = J || X, Q = () => {
35
+ }), { mutate: J, isPending: Y } = a(), { mutate: X, isPending: Z } = o(), Q = Y || Z, $ = () => {
36
36
  M(`${L}/list`);
37
- }, $ = (e) => {
38
- z(e), V(null), q(e, {
37
+ }, ee = (t) => {
38
+ z(t), V(null), J(t, {
39
39
  onSuccess: () => {
40
40
  z(null);
41
41
  },
42
- onError: (e) => {
43
- z(null), V(e instanceof Error ? e.message : n(j, "pendingInvites.acceptError", "Failed to accept invitation"));
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
- }, ee = (e) => {
47
- z(e), V(null), Y(e, {
46
+ }, te = (t) => {
47
+ z(t), V(null), X(t, {
48
48
  onSuccess: () => {
49
49
  z(null);
50
50
  },
51
- onError: (e) => {
52
- z(null), V(e instanceof Error ? e.message : n(j, "pendingInvites.rejectError", "Failed to reject invitation"));
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: n(j, "pendingInvites.signInTitle", "Sign in to view your pending invites")
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: n(j, "pendingInvites.signInDescription", "You need an authenticated account before you can review or respond to workspace invitations.")
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: Q,
75
+ onClick: $,
76
76
  variant: "outline",
77
- children: [/* @__PURE__ */ _(p, { className: "mr-2 size-4" }), n(j, "pendingInvites.backToWorkspaces", "Back to Workspaces")]
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: n(j, "pendingInvites.pageTitle", "Pending Invites")
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: n(j, "pendingInvites.pageSubtitle", "Review and respond to workspace invitations sent to your account.")
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: Q,
104
- children: [/* @__PURE__ */ _(p, { className: "mr-2 size-4" }), n(j, "pendingInvites.viewWorkspaces", "View Workspaces")]
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: n(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.") }),
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 : n(j, "pendingInvites.loadError", "Failed to load pending invitations")
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: n(j, "pendingInvites.emptyTitle", "No pending invites"),
134
- description: n(j, "pendingInvites.emptyDescription", "When someone invites you to a workspace, it will appear here.")
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((e, t) => {
138
- let r = e.invitedById ? K[e.invitedById] : void 0, i = r?.displayName || r?.email || e.invitedById || "—", a = A(e.expiresAt), l = A(e.createdAt), u = c(e), d = s(e), p = o(e), S = R === e.id && Z;
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: t === 0,
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: e.email })]
152
+ children: [/* @__PURE__ */ _(m, { className: "size-4 text-primary" }), /* @__PURE__ */ _("span", { children: i.email })]
153
153
  }), /* @__PURE__ */ _(y, {
154
154
  variant: "secondary",
155
- children: e.status
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: n(j, "pendingInvites.workspaceLabel", "Workspace")
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
- e.workspaceId ? /* @__PURE__ */ _("dd", {
170
+ i.workspaceId ? /* @__PURE__ */ _("dd", {
171
171
  className: "mt-1 break-all font-mono text-xs text-text-secondary",
172
- children: e.workspaceId
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: n(j, "pendingInvites.invitedByLabel", "Invited by")
177
+ children: e(j, "pendingInvites.invitedByLabel", "Invited by")
178
178
  }), /* @__PURE__ */ _("dd", {
179
179
  className: "break-all",
180
- children: r ? /* @__PURE__ */ _(O, {
181
- profile: r,
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: i
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: n(j, "pendingInvites.receivedLabel", "Received")
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: n(j, "pendingInvites.expiresLabel", "Expires")
196
- }), /* @__PURE__ */ _("dd", { children: a ?? "—" })] })
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: n(j, "pendingInvites.rolesLabel", "Roles")
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((t, n) => /* @__PURE__ */ _(y, {
204
+ children: d.length > 0 ? d.map((e, t) => /* @__PURE__ */ _(y, {
205
205
  variant: "outline",
206
- children: t
207
- }, `${e.id}-${e.roleIds[n] ?? t}`)) : /* @__PURE__ */ _("span", {
206
+ children: e
207
+ }, `${i.id}-${i.roleIds[t] ?? e}`)) : /* @__PURE__ */ _("span", {
208
208
  className: "text-sm text-text-secondary",
209
- children: n(j, "pendingInvites.noRoles", "No explicit roles assigned")
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: n(j, "pendingInvites.projectsLabel", "Projects")
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((t, n) => /* @__PURE__ */ _(y, {
217
+ children: p.length > 0 ? p.map((e, t) => /* @__PURE__ */ _(y, {
218
218
  variant: "secondary",
219
- children: t
220
- }, `${e.id}-project-${t}-${n}`)) : /* @__PURE__ */ _("span", {
219
+ children: e
220
+ }, `${i.id}-project-${e}-${t}`)) : /* @__PURE__ */ _("span", {
221
221
  className: "text-sm text-text-secondary",
222
- children: n(j, "pendingInvites.noProjects", "No project access will be granted automatically")
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: () => $(e.id),
230
- disabled: Z,
229
+ onClick: () => ee(i.id),
230
+ disabled: Q,
231
231
  className: "w-full",
232
- children: [S && J ? /* @__PURE__ */ _(h, { className: "mr-2 size-4 animate-spin" }) : /* @__PURE__ */ _(f, { className: "mr-2 size-4" }), n(j, "pendingInvites.acceptButton", "Accept")]
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: () => ee(e.id),
236
- disabled: Z,
235
+ onClick: () => te(i.id),
236
+ disabled: Q,
237
237
  className: "w-full",
238
- children: [S && X ? /* @__PURE__ */ _(h, { className: "mr-2 size-4 animate-spin" }) : /* @__PURE__ */ _(g, { className: "mr-2 size-4" }), n(j, "pendingInvites.rejectButton", "Reject")]
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
- }, e.id);
242
+ }, i.id);
243
243
  })
244
244
  })
245
245
  ]
246
246
  })
247
247
  });
248
248
  }
249
- //#endregion
250
249
  export { j as PendingInvitesPage };