@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.
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 +3 -3
  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 +11 -12
  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,36 +1,36 @@
1
- import { useWorkspacesContext as e } from "../providers/WorkspacesProvider.js";
2
- import { getProjectStatusClasses as t } from "../utils/tokenHelpers.js";
3
- import { useScopedNavigation as ee } from "../hooks/useScopedNavigation.js";
4
- import { tWithFallback as n } from "../utils/i18n.js";
5
- import { useWorkspacesPageView as te } from "../hooks/useWorkspacesPageView.js";
6
- import { nativeImpact as ne, nativeNotify as r } from "../utils/nativeBridge.js";
7
- import { useWorkspacePermissions as re } from "../hooks/useWorkspacePermissions.js";
8
- import { useProject as ie, useProjectMembersCount as ae } from "../hooks/useProjects.js";
9
- import { useArchiveProject as oe, useDeleteProject as se, useTagProject as ce, useUnarchiveProject as le, useUntagProject as ue, useUpdateProject as de } from "../hooks/useProjectMutations.js";
10
- import { formatDate as i } from "../utils/formatters.js";
11
- import { getProjectDisplayTags as fe, toProjectTag as a } from "../utils/projectTags.js";
12
- import { RenameProjectDialog as pe } from "../components/RenameProjectDialog.js";
13
- import { useWorkspaceActivity as me } from "../hooks/useWorkspaceActivity.js";
14
- import { ProjectTagsWidget as he } from "../components/tags/ProjectTagsWidget.js";
1
+ import { ProjectTagsWidget as e } from "../components/tags/ProjectTagsWidget.js";
2
+ import { tWithFallback as t } from "../utils/i18n.js";
3
+ import { useProject as ee, useProjectMembersCount as te } from "../hooks/useProjects.js";
4
+ import { useWorkspacesContext as ne } from "../providers/WorkspacesProvider.js";
5
+ import { useArchiveProject as re, useDeleteProject as ie, useTagProject as ae, useUnarchiveProject as oe, useUntagProject as se, useUpdateProject as ce } from "../hooks/useProjectMutations.js";
6
+ import { formatDate as n } from "../utils/formatters.js";
7
+ import { nativeImpact as le, nativeNotify as r } from "../utils/nativeBridge.js";
8
+ import { getProjectDisplayTags as ue, toProjectTag as i } from "../utils/projectTags.js";
9
+ import { getProjectStatusClasses as de } from "../utils/tokenHelpers.js";
10
+ import { useWorkspaceActivity as fe } from "../hooks/useWorkspaceActivity.js";
11
+ import { useScopedNavigation as pe } from "../hooks/useScopedNavigation.js";
12
+ import { useWorkspacePermissions as me } from "../hooks/useWorkspacePermissions.js";
13
+ import { useWorkspacesPageView as a } from "../hooks/useWorkspacesPageView.js";
15
14
  import { ProjectMemberPickerDialog as o } from "../components/ProjectMemberPickerDialog.js";
15
+ import { RenameProjectDialog as he } from "../components/RenameProjectDialog.js";
16
16
  import { useMemo as ge, useState as s } from "react";
17
17
  import { Activity as c, Archive as l, ArrowLeft as u, Clock as d, FolderKanban as f, MoreVertical as _e, Pencil as ve, UserPlus as p, Users as m } from "lucide-react";
18
18
  import { jsx as h, jsxs as g } from "react/jsx-runtime";
19
19
  import { AlertDialog as ye, AlertDialogAction as be, AlertDialogCancel as xe, AlertDialogContent as Se, AlertDialogDescription as Ce, AlertDialogFooter as we, AlertDialogHeader as Te, AlertDialogTitle as Ee, Badge as _, Button as v, CardContent as y, CardHeader as b, CardTitle as x, DropdownMenu as De, DropdownMenuContent as Oe, DropdownMenuItem as S, DropdownMenuSeparator as C, DropdownMenuTrigger as w, EntityIdModal as T, GlassCard as E, IllustratedEmptyState as ke, NextSteps as Ae, PagePurpose as je, ShowMore as Me, Skeleton as D, useEntityIdModal as Ne } from "@burdenoff/fe-libs/ui";
20
20
  import { useI18n as Pe } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
21
21
  import { useNavigate as O, useParams as Fe } from "react-router";
22
- //#region src/pages/ProjectDetailPage.tsx
22
+ // src/pages/ProjectDetailPage.tsx
23
23
  function k() {
24
24
  let { t: k } = Pe(), A = Ne(), { workspaceId: j, projectId: M } = Fe();
25
- te("workspaces.project-detail", {
25
+ a("workspaces.project-detail", {
26
26
  workspaceId: j,
27
27
  projectId: M,
28
28
  requireParams: !0
29
29
  });
30
- let N = O(), { basePath: P = "/workspaces" } = e(), { withCurrentSearch: F } = ee(), { data: I, isLoading: Ie, error: Le } = ie(M || "", j), [Re, L] = s(!1), [R, z] = s(!1), [B, V] = s(!1), { mutate: ze, isPending: H } = oe(j), { mutate: Be, isPending: U } = le(j), { mutate: Ve, isPending: W } = se(j), { mutateAsync: He, isPending: Ue } = ce(j), { mutateAsync: We, isPending: Ge } = ue(j), { mutateAsync: Ke, isPending: qe } = de(j), { canViewProject: Je, canUpdateProject: G, canDeleteProject: K, canArchiveProject: q, canListProjectMembers: J, canAddProjectMember: Y, isLoading: Ye } = re(), { data: Xe } = ae(M || "", j), X = ge(() => fe({
30
+ let N = O(), { basePath: P = "/workspaces" } = ne(), { withCurrentSearch: F } = pe(), { data: I, isLoading: Ie, error: Le } = ee(M || "", j), [Re, L] = s(!1), [R, z] = s(!1), [B, V] = s(!1), { mutate: ze, isPending: H } = re(j), { mutate: Be, isPending: U } = oe(j), { mutate: Ve, isPending: W } = ie(j), { mutateAsync: He, isPending: Ue } = ae(j), { mutateAsync: We, isPending: Ge } = se(j), { mutateAsync: Ke, isPending: qe } = ce(j), { canViewProject: Je, canUpdateProject: G, canDeleteProject: K, canArchiveProject: q, canListProjectMembers: J, canAddProjectMember: Y, isLoading: Ye } = me(), { data: Xe } = te(M || "", j), X = ge(() => ue({
31
31
  tags: I?.tags ?? [],
32
32
  tagAssignments: I?.tagAssignments
33
- }), [I?.tags, I?.tagAssignments]), { data: Ze } = me(j), Qe = (Ze ?? []).filter((e) => e.resourceId === M || e.resourceType?.toLowerCase() === "project").length, $e = X;
33
+ }), [I?.tags, I?.tagAssignments]), { data: Ze } = fe(j), Qe = (Ze ?? []).filter((e) => e.resourceId === M || e.resourceType?.toLowerCase() === "project").length, $e = X;
34
34
  if (Ye) return /* @__PURE__ */ g("div", {
35
35
  className: "space-y-4 p-6",
36
36
  children: [/* @__PURE__ */ h(D, { className: "h-10 w-1/3" }), /* @__PURE__ */ h(D, { className: "h-64" })]
@@ -41,10 +41,10 @@ function k() {
41
41
  className: "text-center space-y-2",
42
42
  children: [/* @__PURE__ */ h("h2", {
43
43
  className: "text-lg font-semibold",
44
- children: n(k, "projectDetail.accessDenied", "Access Denied")
44
+ children: t(k, "projectDetail.accessDenied", "Access Denied")
45
45
  }), /* @__PURE__ */ h("p", {
46
46
  className: "text-sm text-text-secondary",
47
- children: n(k, "projectDetail.noPermissionToViewProject", "You don't have permission to view this project.")
47
+ children: t(k, "projectDetail.noPermissionToViewProject", "You don't have permission to view this project.")
48
48
  })]
49
49
  })
50
50
  });
@@ -57,7 +57,7 @@ function k() {
57
57
  console.error("Failed to archive project:", e);
58
58
  } }));
59
59
  }, tt = () => {
60
- I && (ne("medium"), Ve(I.id, {
60
+ I && (le("medium"), Ve(I.id, {
61
61
  onSuccess: () => {
62
62
  r("success"), L(!1), N(F(`${P}/${j}/projects`));
63
63
  },
@@ -69,7 +69,7 @@ function k() {
69
69
  N(F(`${P}/${j}/projects/${M}/members`));
70
70
  }, $ = async (e) => {
71
71
  if (!I) return;
72
- let t = e.map((e) => a(e));
72
+ let t = e.map((e) => i(e));
73
73
  try {
74
74
  await Ke({
75
75
  id: I.id,
@@ -83,7 +83,7 @@ function k() {
83
83
  await He({
84
84
  entityId: I.id,
85
85
  tagId: e.id
86
- }), await $([...X, a(e)]);
86
+ }), await $([...X, i(e)]);
87
87
  } catch (e) {
88
88
  throw r("error"), e;
89
89
  }
@@ -121,17 +121,17 @@ function k() {
121
121
  variant: "ghost",
122
122
  onClick: Z,
123
123
  className: "gap-2",
124
- children: [/* @__PURE__ */ h(u, { size: 20 }), n(k, "projectDetail.backToProjects", "Back to Projects")]
124
+ children: [/* @__PURE__ */ h(u, { size: 20 }), t(k, "projectDetail.backToProjects", "Back to Projects")]
125
125
  }), /* @__PURE__ */ h(ke, {
126
126
  illustration: "empty-search",
127
- title: n(k, "projectDetail.projectNotFound", "Project not found"),
128
- description: n(k, "projectDetail.projectNotFoundDescription", "The project you're looking for doesn't exist or you don't have permission to view it."),
127
+ title: t(k, "projectDetail.projectNotFound", "Project not found"),
128
+ description: t(k, "projectDetail.projectNotFoundDescription", "The project you're looking for doesn't exist or you don't have permission to view it."),
129
129
  action: /* @__PURE__ */ g(v, {
130
130
  onClick: Z,
131
131
  children: [/* @__PURE__ */ h(u, {
132
132
  size: 16,
133
133
  className: "mr-2"
134
- }), n(k, "projectDetail.backToProjects", "Back to Projects")]
134
+ }), t(k, "projectDetail.backToProjects", "Back to Projects")]
135
135
  })
136
136
  })]
137
137
  }) : /* @__PURE__ */ g("div", {
@@ -144,7 +144,7 @@ function k() {
144
144
  variant: "ghost",
145
145
  onClick: Z,
146
146
  className: "gap-2 mb-2 -ml-2",
147
- children: [/* @__PURE__ */ h(u, { size: 20 }), n(k, "projectDetail.backToProjects", "Back to Projects")]
147
+ children: [/* @__PURE__ */ h(u, { size: 20 }), t(k, "projectDetail.backToProjects", "Back to Projects")]
148
148
  }),
149
149
  /* @__PURE__ */ g("div", {
150
150
  className: "flex items-center gap-3",
@@ -165,7 +165,7 @@ function k() {
165
165
  /* @__PURE__ */ g("div", {
166
166
  className: "flex items-center gap-2 mt-3",
167
167
  children: [/* @__PURE__ */ h(_, {
168
- className: `border ${t(I.status)}`,
168
+ className: `border ${de(I.status)}`,
169
169
  children: I.status
170
170
  }), I.archived && /* @__PURE__ */ g(_, {
171
171
  variant: "outline",
@@ -173,7 +173,7 @@ function k() {
173
173
  children: [/* @__PURE__ */ h(l, {
174
174
  size: 12,
175
175
  className: "mr-1"
176
- }), n(k, "projectDetail.archived", "Archived")]
176
+ }), t(k, "projectDetail.archived", "Archived")]
177
177
  })]
178
178
  })
179
179
  ] }), /* @__PURE__ */ h("div", {
@@ -183,7 +183,7 @@ function k() {
183
183
  children: /* @__PURE__ */ h(v, {
184
184
  variant: "outline",
185
185
  size: "icon",
186
- "aria-label": n(k, "projectDetail.openProjectActionsAriaLabel", "Open project actions"),
186
+ "aria-label": t(k, "projectDetail.openProjectActionsAriaLabel", "Open project actions"),
187
187
  children: /* @__PURE__ */ h(_e, { size: 20 })
188
188
  })
189
189
  }), /* @__PURE__ */ g(Oe, {
@@ -194,7 +194,7 @@ function k() {
194
194
  children: [/* @__PURE__ */ h(ve, {
195
195
  size: 16,
196
196
  className: "mr-2"
197
- }), n(k, "projectDetail.renameProject", "Rename Project")]
197
+ }), t(k, "projectDetail.renameProject", "Rename Project")]
198
198
  }),
199
199
  G && (q || K) && /* @__PURE__ */ h(C, {}),
200
200
  q && /* @__PURE__ */ g(S, {
@@ -203,33 +203,33 @@ function k() {
203
203
  children: [/* @__PURE__ */ h(l, {
204
204
  size: 16,
205
205
  className: "mr-2"
206
- }), H || U ? n(k, "projectDetail.processing", "Processing...") : I.archived ? n(k, "projectDetail.unarchive", "Unarchive") : n(k, "projectDetail.archive", "Archive")]
206
+ }), H || U ? t(k, "projectDetail.processing", "Processing...") : I.archived ? t(k, "projectDetail.unarchive", "Unarchive") : t(k, "projectDetail.archive", "Archive")]
207
207
  }),
208
208
  q && K && /* @__PURE__ */ h(C, {}),
209
209
  K && /* @__PURE__ */ h(S, {
210
210
  onClick: () => L(!0),
211
211
  className: "text-status-error-text",
212
- children: n(k, "projectDetail.deleteProject", "Delete Project")
212
+ children: t(k, "projectDetail.deleteProject", "Delete Project")
213
213
  })
214
214
  ]
215
215
  })] })
216
216
  })]
217
217
  }),
218
- /* @__PURE__ */ h(je, { children: n(k, "projectDetail.purpose", "This is a single project — a focused stream of work within its workspace. From here you can manage the people working on it, organise it with tags so it surfaces in filters and reports, and keep track of related activity. Use the menu in the top-right to archive or delete it when it wraps up.") }),
218
+ /* @__PURE__ */ h(je, { children: t(k, "projectDetail.purpose", "This is a single project — a focused stream of work within its workspace. From here you can manage the people working on it, organise it with tags so it surfaces in filters and reports, and keep track of related activity. Use the menu in the top-right to archive or delete it when it wraps up.") }),
219
219
  /* @__PURE__ */ h(Ae, {
220
220
  storageKey: "workspaces-project-detail",
221
221
  steps: [
222
222
  ...Y ? [{
223
223
  id: "add-member",
224
- label: n(k, "projectDetail.stepAddMember", "Add people to the project"),
225
- description: n(k, "projectDetail.stepAddMemberDesc", "Pull in the teammates who will actually work on this project."),
224
+ label: t(k, "projectDetail.stepAddMember", "Add people to the project"),
225
+ description: t(k, "projectDetail.stepAddMemberDesc", "Pull in the teammates who will actually work on this project."),
226
226
  icon: /* @__PURE__ */ h(p, { size: 16 }),
227
227
  onClick: () => z(!0)
228
228
  }] : [],
229
229
  {
230
230
  id: "tag-project",
231
- label: n(k, "projectDetail.stepTag", "Tag the project"),
232
- description: n(k, "projectDetail.stepTagDesc", "Add tags so this project shows up in the right filters and views."),
231
+ label: t(k, "projectDetail.stepTag", "Tag the project"),
232
+ description: t(k, "projectDetail.stepTagDesc", "Add tags so this project shows up in the right filters and views."),
233
233
  icon: /* @__PURE__ */ h(f, { size: 16 }),
234
234
  onClick: () => {
235
235
  document.getElementById("project-tags-section")?.scrollIntoView({
@@ -240,15 +240,15 @@ function k() {
240
240
  },
241
241
  ...J ? [{
242
242
  id: "manage-members",
243
- label: n(k, "projectDetail.stepManageMembers", "Review project members"),
244
- description: n(k, "projectDetail.stepManageMembersDesc", "See who has access and adjust their project roles."),
243
+ label: t(k, "projectDetail.stepManageMembers", "Review project members"),
244
+ description: t(k, "projectDetail.stepManageMembersDesc", "See who has access and adjust their project roles."),
245
245
  icon: /* @__PURE__ */ h(m, { size: 16 }),
246
246
  onClick: Q
247
247
  }] : [],
248
248
  {
249
249
  id: "review-activity",
250
- label: n(k, "projectDetail.stepActivity", "Check recent activity"),
251
- description: n(k, "projectDetail.stepActivityDesc", "Catch up on what has changed across the workspace."),
250
+ label: t(k, "projectDetail.stepActivity", "Check recent activity"),
251
+ description: t(k, "projectDetail.stepActivityDesc", "Catch up on what has changed across the workspace."),
252
252
  icon: /* @__PURE__ */ h(c, { size: 16 }),
253
253
  onClick: () => N(F(`${P}/${j}/activity`))
254
254
  }
@@ -270,7 +270,7 @@ function k() {
270
270
  children: [/* @__PURE__ */ h(m, {
271
271
  size: 18,
272
272
  className: "text-text-muted"
273
- }), n(k, "projectDetail.membersCardTitle", "Members")]
273
+ }), t(k, "projectDetail.membersCardTitle", "Members")]
274
274
  })
275
275
  }), /* @__PURE__ */ g(y, {
276
276
  className: "space-y-4",
@@ -281,7 +281,7 @@ function k() {
281
281
  }),
282
282
  /* @__PURE__ */ h("p", {
283
283
  className: "text-sm text-text-muted",
284
- children: n(k, "projectDetail.projectMembers", "Project members")
284
+ children: t(k, "projectDetail.projectMembers", "Project members")
285
285
  }),
286
286
  Y || J ? /* @__PURE__ */ g("div", {
287
287
  className: "flex flex-wrap gap-2",
@@ -291,7 +291,7 @@ function k() {
291
291
  children: [/* @__PURE__ */ h(p, {
292
292
  size: 16,
293
293
  className: "mr-2"
294
- }), n(k, "projectDetail.addProjectMember", "Add Member")]
294
+ }), t(k, "projectDetail.addProjectMember", "Add Member")]
295
295
  }) : null, J ? /* @__PURE__ */ g(v, {
296
296
  variant: "outline",
297
297
  size: "sm",
@@ -299,7 +299,7 @@ function k() {
299
299
  children: [/* @__PURE__ */ h(m, {
300
300
  size: 16,
301
301
  className: "mr-2"
302
- }), n(k, "projectDetail.manageProjectMembers", "Manage Members")]
302
+ }), t(k, "projectDetail.manageProjectMembers", "Manage Members")]
303
303
  }) : null]
304
304
  }) : null
305
305
  ]
@@ -313,26 +313,26 @@ function k() {
313
313
  children: [/* @__PURE__ */ h(c, {
314
314
  size: 18,
315
315
  className: "text-text-muted"
316
- }), n(k, "projectDetail.activityCardTitle", "Activity")]
316
+ }), t(k, "projectDetail.activityCardTitle", "Activity")]
317
317
  })
318
318
  }), /* @__PURE__ */ g(y, { children: [/* @__PURE__ */ h("p", {
319
319
  className: "text-3xl font-bold tabular-nums",
320
320
  children: Qe
321
321
  }), /* @__PURE__ */ h("p", {
322
322
  className: "text-sm text-text-muted",
323
- children: n(k, "projectDetail.recentActivityItems", "Recent activity items")
323
+ children: t(k, "projectDetail.recentActivityItems", "Recent activity items")
324
324
  })] })]
325
325
  })]
326
326
  }), /* @__PURE__ */ g(E, {
327
327
  treatment: "plain",
328
328
  id: "project-tags-section",
329
329
  className: "border-border-seam",
330
- children: [/* @__PURE__ */ h(b, { children: /* @__PURE__ */ h(x, { children: n(k, "projectDetail.tagsTitle", "Tags") }) }), /* @__PURE__ */ g(y, {
330
+ children: [/* @__PURE__ */ h(b, { children: /* @__PURE__ */ h(x, { children: t(k, "projectDetail.tagsTitle", "Tags") }) }), /* @__PURE__ */ g(y, {
331
331
  className: "space-y-3",
332
332
  children: [/* @__PURE__ */ h("p", {
333
333
  className: "text-sm text-text-muted",
334
- children: n(k, "projectDetail.tagsDescription", "Use universal tags to classify and filter this project across the workspace.")
335
- }), /* @__PURE__ */ h(he, {
334
+ children: t(k, "projectDetail.tagsDescription", "Use universal tags to classify and filter this project across the workspace.")
335
+ }), /* @__PURE__ */ h(e, {
336
336
  entityType: "Project",
337
337
  entityId: I.id,
338
338
  workspaceId: j,
@@ -348,7 +348,7 @@ function k() {
348
348
  children: /* @__PURE__ */ g(E, {
349
349
  treatment: "plain",
350
350
  className: "border-border-seam",
351
- children: [/* @__PURE__ */ h(b, { children: /* @__PURE__ */ h(x, { children: n(k, "projectDetail.projectInformation", "Project Information") }) }), /* @__PURE__ */ g(y, {
351
+ children: [/* @__PURE__ */ h(b, { children: /* @__PURE__ */ h(x, { children: t(k, "projectDetail.projectInformation", "Project Information") }) }), /* @__PURE__ */ g(y, {
352
352
  className: "space-y-4",
353
353
  children: [
354
354
  /* @__PURE__ */ g("div", {
@@ -358,7 +358,7 @@ function k() {
358
358
  className: "space-y-1",
359
359
  children: [/* @__PURE__ */ g("span", {
360
360
  className: "text-text-muted flex items-center gap-2",
361
- children: [/* @__PURE__ */ h(f, { size: 14 }), n(k, "projectDetail.projectId", "Project ID")]
361
+ children: [/* @__PURE__ */ h(f, { size: 14 }), t(k, "projectDetail.projectId", "Project ID")]
362
362
  }), /* @__PURE__ */ h("button", {
363
363
  type: "button",
364
364
  onClick: () => A.show({
@@ -371,14 +371,14 @@ function k() {
371
371
  }] : void 0
372
372
  }),
373
373
  className: "inline-flex items-center gap-1.5 text-xs font-medium text-text-link hover:underline focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--color-focus-ring)] rounded",
374
- children: n(k, "projectDetail.getId", "Get ID")
374
+ children: t(k, "projectDetail.getId", "Get ID")
375
375
  })]
376
376
  }),
377
377
  /* @__PURE__ */ g("div", {
378
378
  className: "space-y-1",
379
379
  children: [/* @__PURE__ */ g("span", {
380
380
  className: "text-text-secondary flex items-center gap-2",
381
- children: [/* @__PURE__ */ h(f, { size: 14 }), n(k, "projectDetail.projectKey", "Project Key")]
381
+ children: [/* @__PURE__ */ h(f, { size: 14 }), t(k, "projectDetail.projectKey", "Project Key")]
382
382
  }), /* @__PURE__ */ h("span", {
383
383
  className: "font-medium",
384
384
  children: I.key
@@ -388,21 +388,21 @@ function k() {
388
388
  className: "space-y-1",
389
389
  children: [/* @__PURE__ */ g("span", {
390
390
  className: "text-text-secondary flex items-center gap-2",
391
- children: [/* @__PURE__ */ h(d, { size: 14 }), n(k, "projectDetail.created", "Created")]
392
- }), /* @__PURE__ */ h("span", { children: i(I.createdAt) })]
391
+ children: [/* @__PURE__ */ h(d, { size: 14 }), t(k, "projectDetail.created", "Created")]
392
+ }), /* @__PURE__ */ h("span", { children: n(I.createdAt) })]
393
393
  }),
394
394
  /* @__PURE__ */ g("div", {
395
395
  className: "space-y-1",
396
396
  children: [/* @__PURE__ */ g("span", {
397
397
  className: "text-text-secondary flex items-center gap-2",
398
- children: [/* @__PURE__ */ h(d, { size: 14 }), n(k, "projectDetail.lastUpdated", "Last Updated")]
399
- }), /* @__PURE__ */ h("span", { children: i(I.updatedAt) })]
398
+ children: [/* @__PURE__ */ h(d, { size: 14 }), t(k, "projectDetail.lastUpdated", "Last Updated")]
399
+ }), /* @__PURE__ */ h("span", { children: n(I.updatedAt) })]
400
400
  }),
401
401
  /* @__PURE__ */ g("div", {
402
402
  className: "space-y-1",
403
403
  children: [/* @__PURE__ */ g("span", {
404
404
  className: "text-text-secondary flex items-center gap-2",
405
- children: [/* @__PURE__ */ h(m, { size: 14 }), n(k, "projectDetail.workspaceId", "Workspace ID")]
405
+ children: [/* @__PURE__ */ h(m, { size: 14 }), t(k, "projectDetail.workspaceId", "Workspace ID")]
406
406
  }), /* @__PURE__ */ h("span", {
407
407
  className: "font-mono text-xs block",
408
408
  children: I.workspaceId
@@ -412,7 +412,7 @@ function k() {
412
412
  className: "space-y-1",
413
413
  children: [/* @__PURE__ */ g("span", {
414
414
  className: "text-text-secondary flex items-center gap-2",
415
- children: [/* @__PURE__ */ h(m, { size: 14 }), n(k, "projectDetail.creatorId", "Creator ID")]
415
+ children: [/* @__PURE__ */ h(m, { size: 14 }), t(k, "projectDetail.creatorId", "Creator ID")]
416
416
  }), /* @__PURE__ */ h("span", {
417
417
  className: "font-mono text-xs block",
418
418
  children: I.creatorId
@@ -424,7 +424,7 @@ function k() {
424
424
  className: "pt-4 border-t border-border-seam",
425
425
  children: [/* @__PURE__ */ h("h4", {
426
426
  className: "text-sm font-medium mb-2",
427
- children: n(k, "projectDetail.configuration", "Configuration")
427
+ children: t(k, "projectDetail.configuration", "Configuration")
428
428
  }), /* @__PURE__ */ h("pre", {
429
429
  className: "text-xs bg-bg-sunken p-3 rounded-lg overflow-auto",
430
430
  children: JSON.stringify(I.config, null, 2)
@@ -432,7 +432,7 @@ function k() {
432
432
  }),
433
433
  /* @__PURE__ */ h(Me, {
434
434
  collapsedHeight: 0,
435
- label: n(k, "projectDetail.quickActions", "Quick Actions"),
435
+ label: t(k, "projectDetail.quickActions", "Quick Actions"),
436
436
  children: /* @__PURE__ */ g("div", {
437
437
  className: "flex flex-col gap-2 pt-2",
438
438
  children: [
@@ -444,7 +444,7 @@ function k() {
444
444
  children: [/* @__PURE__ */ h(m, {
445
445
  size: 16,
446
446
  className: "mr-2"
447
- }), n(k, "projectDetail.projectMembersPage", "Project Members")]
447
+ }), t(k, "projectDetail.projectMembersPage", "Project Members")]
448
448
  }) : null,
449
449
  /* @__PURE__ */ g(v, {
450
450
  variant: "outline",
@@ -454,7 +454,7 @@ function k() {
454
454
  children: [/* @__PURE__ */ h(m, {
455
455
  size: 16,
456
456
  className: "mr-2"
457
- }), n(k, "projectDetail.workspaceMembers", "Workspace Members")]
457
+ }), t(k, "projectDetail.workspaceMembers", "Workspace Members")]
458
458
  }),
459
459
  /* @__PURE__ */ g(v, {
460
460
  variant: "outline",
@@ -464,7 +464,7 @@ function k() {
464
464
  children: [/* @__PURE__ */ h(c, {
465
465
  size: 16,
466
466
  className: "mr-2"
467
- }), n(k, "projectDetail.workspaceActivity", "Workspace Activity")]
467
+ }), t(k, "projectDetail.workspaceActivity", "Workspace Activity")]
468
468
  })
469
469
  ]
470
470
  })
@@ -477,14 +477,14 @@ function k() {
477
477
  /* @__PURE__ */ h(ye, {
478
478
  open: Re,
479
479
  onOpenChange: L,
480
- children: /* @__PURE__ */ g(Se, { children: [/* @__PURE__ */ g(Te, { children: [/* @__PURE__ */ h(Ee, { children: n(k, "projectDetail.deleteDialogTitle", "Delete Project") }), /* @__PURE__ */ h(Ce, { children: n(k, "projectDetail.deleteConfirmPrefix", "Are you sure you want to delete \"") + I.name + n(k, "projectDetail.deleteConfirmSuffix", "\"? This action cannot be undone and all project data will be permanently removed.") })] }), /* @__PURE__ */ g(we, { children: [/* @__PURE__ */ h(xe, {
480
+ children: /* @__PURE__ */ g(Se, { children: [/* @__PURE__ */ g(Te, { children: [/* @__PURE__ */ h(Ee, { children: t(k, "projectDetail.deleteDialogTitle", "Delete Project") }), /* @__PURE__ */ h(Ce, { children: t(k, "projectDetail.deleteConfirmPrefix", "Are you sure you want to delete \"") + I.name + t(k, "projectDetail.deleteConfirmSuffix", "\"? This action cannot be undone and all project data will be permanently removed.") })] }), /* @__PURE__ */ g(we, { children: [/* @__PURE__ */ h(xe, {
481
481
  disabled: W,
482
- children: n(k, "projectDetail.cancel", "Cancel")
482
+ children: t(k, "projectDetail.cancel", "Cancel")
483
483
  }), /* @__PURE__ */ h(be, {
484
484
  onClick: tt,
485
485
  disabled: W,
486
486
  className: "bg-status-error-bg text-status-error-text hover:bg-status-error-bg/90",
487
- children: W ? n(k, "projectDetail.deleting", "Deleting...") : n(k, "projectDetail.deleteProject", "Delete Project")
487
+ children: W ? t(k, "projectDetail.deleting", "Deleting...") : t(k, "projectDetail.deleteProject", "Delete Project")
488
488
  })] })] })
489
489
  }),
490
490
  j && M && R ? /* @__PURE__ */ h(o, {
@@ -494,7 +494,7 @@ function k() {
494
494
  projectId: M,
495
495
  projectName: I.name
496
496
  }) : null,
497
- B && /* @__PURE__ */ h(pe, {
497
+ B && /* @__PURE__ */ h(he, {
498
498
  project: {
499
499
  id: I.id,
500
500
  name: I.name,
@@ -507,5 +507,4 @@ function k() {
507
507
  ]
508
508
  });
509
509
  }
510
- //#endregion
511
510
  export { k as ProjectDetailPage };