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