@burdenoff/microfe-timecampus 2026.1203.2 → 2026.1204.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 (64) hide show
  1. package/dist/timecampus/components/EmptyState.d.ts +7 -0
  2. package/dist/timecampus/components/EmptyState.js +3 -2
  3. package/dist/timecampus/components/EmptyState.js.map +1 -1
  4. package/dist/timecampus/components/FilterBar.js +1 -0
  5. package/dist/timecampus/pages/admin/AdminPage.js +264 -264
  6. package/dist/timecampus/pages/admin/AdminPage.js.map +1 -1
  7. package/dist/timecampus/pages/application-usage/ApplicationUsagePage.js +78 -78
  8. package/dist/timecampus/pages/application-usage/ApplicationUsagePage.js.map +1 -1
  9. package/dist/timecampus/pages/dashboard/ServerReportExports.js +34 -34
  10. package/dist/timecampus/pages/dashboard/ServerReportExports.js.map +1 -1
  11. package/dist/timecampus/pages/expense-tracking/ExpenseTrackingPage.js +49 -48
  12. package/dist/timecampus/pages/expense-tracking/ExpenseTrackingPage.js.map +1 -1
  13. package/dist/timecampus/pages/extend/AppletDeveloperPage.js +107 -102
  14. package/dist/timecampus/pages/extend/AppletDeveloperPage.js.map +1 -1
  15. package/dist/timecampus/pages/extend/MarketplaceCertificationPage.js +129 -124
  16. package/dist/timecampus/pages/extend/MarketplaceCertificationPage.js.map +1 -1
  17. package/dist/timecampus/pages/extend/ThirdPartyAppletsSection.js +94 -94
  18. package/dist/timecampus/pages/extend/ThirdPartyAppletsSection.js.map +1 -1
  19. package/dist/timecampus/pages/extend/TimeTriggersPage.js +97 -97
  20. package/dist/timecampus/pages/extend/TimeTriggersPage.js.map +1 -1
  21. package/dist/timecampus/pages/focus/FocusProtectionPage.js +120 -120
  22. package/dist/timecampus/pages/focus/FocusProtectionPage.js.map +1 -1
  23. package/dist/timecampus/pages/geofencing/GeofencingPage.js +343 -343
  24. package/dist/timecampus/pages/geofencing/GeofencingPage.js.map +1 -1
  25. package/dist/timecampus/pages/lifetime/LifeTimelinePage.js +25 -25
  26. package/dist/timecampus/pages/lifetime/LifeTimelinePage.js.map +1 -1
  27. package/dist/timecampus/pages/lifetime/RecommendationsPage.js +296 -296
  28. package/dist/timecampus/pages/lifetime/RecommendationsPage.js.map +1 -1
  29. package/dist/timecampus/pages/lifetime/ValuesGoalsPage.js +189 -189
  30. package/dist/timecampus/pages/lifetime/ValuesGoalsPage.js.map +1 -1
  31. package/dist/timecampus/pages/meetings/ActionItemFormModal.js +47 -46
  32. package/dist/timecampus/pages/meetings/ActionItemFormModal.js.map +1 -1
  33. package/dist/timecampus/pages/meetings/MeetingDetailPage.js +206 -206
  34. package/dist/timecampus/pages/meetings/MeetingDetailPage.js.map +1 -1
  35. package/dist/timecampus/pages/meetings/MeetingFormModal.js +72 -71
  36. package/dist/timecampus/pages/meetings/MeetingFormModal.js.map +1 -1
  37. package/dist/timecampus/pages/meetings/ParticipantFormModal.js +32 -31
  38. package/dist/timecampus/pages/meetings/ParticipantFormModal.js.map +1 -1
  39. package/dist/timecampus/pages/pomodoro/PomodoroPage.js +34 -34
  40. package/dist/timecampus/pages/pomodoro/PomodoroPage.js.map +1 -1
  41. package/dist/timecampus/pages/projects/ProjectDetailPage.js +163 -163
  42. package/dist/timecampus/pages/projects/ProjectDetailPage.js.map +1 -1
  43. package/dist/timecampus/pages/projects/ProjectsPage.js +193 -192
  44. package/dist/timecampus/pages/projects/ProjectsPage.js.map +1 -1
  45. package/dist/timecampus/pages/projects/TasksPage.js +92 -92
  46. package/dist/timecampus/pages/projects/TasksPage.js.map +1 -1
  47. package/dist/timecampus/pages/resource-planning/ResourcePlanningPage.js +60 -60
  48. package/dist/timecampus/pages/resource-planning/ResourcePlanningPage.js.map +1 -1
  49. package/dist/timecampus/pages/settings/IdleDetectionCard.js +33 -33
  50. package/dist/timecampus/pages/settings/IdleDetectionCard.js.map +1 -1
  51. package/dist/timecampus/pages/settings/PrivacySettingsPage.js +32 -32
  52. package/dist/timecampus/pages/settings/PrivacySettingsPage.js.map +1 -1
  53. package/dist/timecampus/pages/time/TimeEntriesPage.js +163 -163
  54. package/dist/timecampus/pages/time/TimeEntriesPage.js.map +1 -1
  55. package/dist/timecampus/pages/time/TimeTrackingPage.js +32 -32
  56. package/dist/timecampus/pages/time/TimeTrackingPage.js.map +1 -1
  57. package/dist/timecampus/pages/time/TimerPage.js +84 -84
  58. package/dist/timecampus/pages/time/TimerPage.js.map +1 -1
  59. package/dist/timecampus/pages/timeline/TimelinePage.js +223 -223
  60. package/dist/timecampus/pages/timeline/TimelinePage.js.map +1 -1
  61. package/dist/timecampus/shared/hooks/useConfirmedAction.d.ts +10 -0
  62. package/dist/timecampus/shared/hooks/useConfirmedAction.js +14 -0
  63. package/dist/timecampus/shared/hooks/useConfirmedAction.js.map +1 -0
  64. package/package.json +2 -2
@@ -4,16 +4,16 @@ import { LoadingSkeleton as n } from "../../components/LoadingSkeleton.js";
4
4
  import { ErrorBoundary as r } from "../../components/ErrorBoundary.js";
5
5
  import { ADMIN_MARKETPLACE_CERTIFICATION_PATH as i } from "../../adminPaths.js";
6
6
  import { useTimeCampus as a, useTimeCampusNavigate as o } from "../../providers/TimeCampusProvider.js";
7
- import { useExportTimeCampusUserDataMutation as s, useOverrideTimeCampusWorkspaceQuotaMutation as c, useRecordTimeCampusImpersonationAuditMutation as ee, useRemoveTimeCampusFeatureFlagOverrideMutation as te, useRequestTimeCampusUserDataErasureMutation as ne, useSetTimeCampusFeatureFlagOverrideMutation as re, useTimeCampusDataErasureRequestsQuery as ie, useTimeCampusImpersonationAuditQuery as ae, useTimeCampusWorkspaceQuotaOverviewQuery as l } from "../../../generated/wspace-operations.js";
8
- import { useState as u } from "react";
9
- import { Activity as d, BadgeCheck as f, FileDown as p, Flag as m, Gauge as h, RefreshCw as g, RotateCcw as _, ShieldAlert as v, Trash2 as y, UserCog as b, Users as oe } from "lucide-react";
10
- import { gql as x } from "@apollo/client";
11
- import { useMutation as S, useQuery as C } from "@apollo/client/react";
12
- import { jsx as w, jsxs as T } from "react/jsx-runtime";
13
- import { GlassCard as E } from "@burdenoff/fe-libs/ui";
14
- import { useSafePermissions as D } from "@burdenoff/fe-libs/shared/providers/shell";
7
+ import { useExportTimeCampusUserDataMutation as s, useOverrideTimeCampusWorkspaceQuotaMutation as c, useRecordTimeCampusImpersonationAuditMutation as ee, useRemoveTimeCampusFeatureFlagOverrideMutation as te, useRequestTimeCampusUserDataErasureMutation as ne, useSetTimeCampusFeatureFlagOverrideMutation as re, useTimeCampusDataErasureRequestsQuery as ie, useTimeCampusImpersonationAuditQuery as ae, useTimeCampusWorkspaceQuotaOverviewQuery as oe } from "../../../generated/wspace-operations.js";
8
+ import { useState as l } from "react";
9
+ import { Activity as u, BadgeCheck as d, FileDown as f, Flag as p, Gauge as m, RefreshCw as h, RotateCcw as g, ShieldAlert as _, Trash2 as v, UserCog as y, Users as se } from "lucide-react";
10
+ import { gql as b } from "@apollo/client";
11
+ import { useMutation as x, useQuery as S } from "@apollo/client/react";
12
+ import { jsx as C, jsxs as w } from "react/jsx-runtime";
13
+ import { GlassCard as T, ThemedSelect as E, useConfirm as D } from "@burdenoff/fe-libs/ui";
14
+ import { useSafePermissions as O } from "@burdenoff/fe-libs/shared/providers/shell";
15
15
  // src/timecampus/pages/admin/AdminPage.tsx
16
- var O = x`
16
+ var k = b`
17
17
  query TimeCampusAdminWorkspaceState($workspaceId: ID!) {
18
18
  timeCampusAdminWorkspaceState(workspaceId: $workspaceId) {
19
19
  workspaceId
@@ -31,7 +31,7 @@ var O = x`
31
31
  generatedAt
32
32
  }
33
33
  }
34
- `, k = x`
34
+ `, A = b`
35
35
  query TimeCampusFeatureFlags($workspaceId: ID!) {
36
36
  timeCampusFeatureFlags(workspaceId: $workspaceId) {
37
37
  workspaceId
@@ -43,14 +43,14 @@ var O = x`
43
43
  }
44
44
  }
45
45
  }
46
- `, A = x`
46
+ `, j = b`
47
47
  mutation ReprocessTimeCampusTimeline($workspaceId: ID!) {
48
48
  reprocessTimeCampusTimeline(workspaceId: $workspaceId) {
49
49
  success
50
50
  message
51
51
  }
52
52
  }
53
- `, j = x`
53
+ `, M = b`
54
54
  mutation ResetTimeCampusDemoData($workspaceId: ID!) {
55
55
  resetTimeCampusDemoData(workspaceId: $workspaceId) {
56
56
  success
@@ -58,67 +58,67 @@ var O = x`
58
58
  }
59
59
  }
60
60
  `;
61
- function M(e) {
61
+ function N(e) {
62
62
  return e == null ? "—" : e.toLocaleString();
63
63
  }
64
- var N = () => {
65
- let { workspaceId: r = "" } = a(), x = o(), N = D()?.isSuperAdmin ?? !1, [P, F] = u(null), [I, L] = u(""), [R, z] = u("timecampus.operations"), [B, V] = u(!0), [H, U] = u("timecampus.projects.count"), [W, G] = u("100"), [K, q] = u("support"), { data: se, loading: J, error: ce, refetch: le } = C(O, {
66
- variables: { workspaceId: r },
67
- skip: !r
68
- }), { data: ue, loading: de, error: fe } = C(k, {
69
- variables: { workspaceId: r },
70
- skip: !r
71
- }), { data: pe, loading: me, error: he, refetch: ge } = l({
72
- variables: { workspaceId: r },
73
- skip: !r
74
- }), { data: _e, loading: ve, error: ye, refetch: be } = ie({
75
- variables: { workspaceId: r },
76
- skip: !r
77
- }), { data: xe, loading: Se, error: Ce, refetch: we } = ae({
78
- variables: { workspaceId: r },
79
- skip: !r
80
- }), [Te, { loading: Ee }] = S(A), [De, { loading: Oe }] = S(j), [ke, { loading: Ae }] = re(), [je, { loading: Me }] = te(), [Ne, { loading: Pe }] = c(), [Fe, { loading: Ie }] = s(), [Le, { loading: Re }] = ne(), [ze, { loading: Be }] = ee();
81
- if (!r) return /* @__PURE__ */ T("div", {
64
+ var P = () => {
65
+ let r = D(), { workspaceId: b = "" } = a(), P = o(), F = O()?.isSuperAdmin ?? !1, [I, L] = l(null), [R, z] = l(""), [B, V] = l("timecampus.operations"), [H, U] = l(!0), [W, G] = l("timecampus.projects.count"), [K, ce] = l("100"), [q, le] = l("support"), { data: ue, loading: de, error: fe, refetch: pe } = S(k, {
66
+ variables: { workspaceId: b },
67
+ skip: !b
68
+ }), { data: me, loading: he, error: ge } = S(A, {
69
+ variables: { workspaceId: b },
70
+ skip: !b
71
+ }), { data: _e, loading: ve, error: ye, refetch: be } = oe({
72
+ variables: { workspaceId: b },
73
+ skip: !b
74
+ }), { data: xe, loading: Se, error: Ce, refetch: we } = ie({
75
+ variables: { workspaceId: b },
76
+ skip: !b
77
+ }), { data: Te, loading: Ee, error: De, refetch: Oe } = ae({
78
+ variables: { workspaceId: b },
79
+ skip: !b
80
+ }), [ke, { loading: Ae }] = x(j), [je, { loading: Me }] = x(M), [Ne, { loading: Pe }] = re(), [Fe, { loading: Ie }] = te(), [Le, { loading: Re }] = c(), [ze, { loading: Be }] = s(), [Ve, { loading: He }] = ne(), [Ue, { loading: We }] = ee();
81
+ if (!b) return /* @__PURE__ */ w("div", {
82
82
  className: "flex min-h-[40vh] items-center justify-center text-text-secondary",
83
- children: [/* @__PURE__ */ w(v, { className: "me-2 h-5 w-5" }), "Workspace context is required."]
83
+ children: [/* @__PURE__ */ C(_, { className: "me-2 h-5 w-5" }), "Workspace context is required."]
84
84
  });
85
- let Y = se?.timeCampusAdminWorkspaceState, Ve = ue?.timeCampusFeatureFlags?.items ?? [], X = pe?.data?.timeCampusWorkspaceQuotaOverview?.assignments ?? [], Z = _e?.data?.timeCampusDataErasureRequests ?? [], Q = xe?.data?.timeCampusImpersonationAudit ?? [], He = async () => {
86
- if (!window.confirm("Reprocess timeline categorization for this workspace?")) return;
87
- let e = await Te({ variables: { workspaceId: r } });
88
- F(e.data?.reprocessTimeCampusTimeline?.message ?? "Done");
89
- }, Ue = async () => {
90
- if (!window.confirm("Reset demo data for this workspace? This cannot be undone.")) return;
91
- let e = await De({ variables: { workspaceId: r } });
92
- F(e.data?.resetTimeCampusDemoData?.message ?? "Done"), await le();
93
- }, We = async () => {
94
- let e = await ke({ variables: { input: {
95
- workspaceId: r,
96
- key: R,
97
- enabled: B
98
- } } });
99
- F(e.data ? `Feature flag ${R} set to ${String(B)}` : "Done");
100
- }, Ge = async () => {
101
- let e = await je({ variables: {
102
- workspaceId: r,
103
- key: R
104
- } });
105
- F(`Removed override for ${R}: ${String(e.data)}`);
85
+ let J = ue?.timeCampusAdminWorkspaceState, Ge = me?.timeCampusFeatureFlags?.items ?? [], Y = _e?.data?.timeCampusWorkspaceQuotaOverview?.assignments ?? [], X = xe?.data?.timeCampusDataErasureRequests ?? [], Z = Te?.data?.timeCampusImpersonationAudit ?? [], Q = async () => {
86
+ if (!await r("Reprocess timeline categorization for this workspace?")) return;
87
+ let e = await ke({ variables: { workspaceId: b } });
88
+ L(e.data?.reprocessTimeCampusTimeline?.message ?? "Done");
106
89
  }, Ke = async () => {
90
+ if (!await r("Reset demo data for this workspace? This cannot be undone.")) return;
91
+ let e = await je({ variables: { workspaceId: b } });
92
+ L(e.data?.resetTimeCampusDemoData?.message ?? "Done"), await pe();
93
+ }, qe = async () => {
107
94
  let e = await Ne({ variables: { input: {
108
- workspaceId: r,
109
- quotaName: H,
95
+ workspaceId: b,
96
+ key: B,
97
+ enabled: H
98
+ } } });
99
+ L(e.data ? `Feature flag ${B} set to ${String(H)}` : "Done");
100
+ }, Je = async () => {
101
+ let e = await Fe({ variables: {
102
+ workspaceId: b,
103
+ key: B
104
+ } });
105
+ L(`Removed override for ${B}: ${String(e.data)}`);
106
+ }, Ye = async () => {
107
+ let e = await Le({ variables: { input: {
108
+ workspaceId: b,
109
+ quotaName: W,
110
110
  productId: "timecampus",
111
- limit: W ? Number(W) : null
111
+ limit: K ? Number(K) : null
112
112
  } } });
113
- F(e.data ? `Quota ${H} overridden to ${W || "unlimited"}` : "Done"), await ge();
114
- }, qe = async () => {
115
- if (!I) {
116
- F("Enter a target user ID");
113
+ L(e.data ? `Quota ${W} overridden to ${K || "unlimited"}` : "Done"), await be();
114
+ }, Xe = async () => {
115
+ if (!R) {
116
+ L("Enter a target user ID");
117
117
  return;
118
118
  }
119
- let e = await Fe({ variables: { input: {
120
- workspaceId: r,
121
- userId: I,
119
+ let e = await ze({ variables: { input: {
120
+ workspaceId: b,
121
+ userId: R,
122
122
  entityTypes: [
123
123
  "timeEntry",
124
124
  "project",
@@ -127,167 +127,167 @@ var N = () => {
127
127
  ],
128
128
  format: "JSON"
129
129
  } } });
130
- F(e.data ? `Export job ${e.data.exportTimeCampusUserData.id} created` : "Done");
131
- }, Je = async () => {
132
- if (!I) {
133
- F("Enter a target user ID");
130
+ L(e.data ? `Export job ${e.data.exportTimeCampusUserData.id} created` : "Done");
131
+ }, Ze = async () => {
132
+ if (!R) {
133
+ L("Enter a target user ID");
134
134
  return;
135
135
  }
136
- if (!window.confirm(`Request TimeCampus data erasure for user ${I}?`)) return;
137
- let e = await Le({ variables: {
138
- workspaceId: r,
139
- userId: I
136
+ if (!await r(`Request TimeCampus data erasure for user ${R}?`)) return;
137
+ let e = await Ve({ variables: {
138
+ workspaceId: b,
139
+ userId: R
140
140
  } });
141
- F(e.data ? `Erasure request ${e.data.requestTimeCampusUserDataErasure.id} created` : "Done"), await be();
142
- }, Ye = async () => {
143
- if (!I) {
144
- F("Enter a target user ID");
141
+ L(e.data ? `Erasure request ${e.data.requestTimeCampusUserDataErasure.id} created` : "Done"), await we();
142
+ }, Qe = async () => {
143
+ if (!R) {
144
+ L("Enter a target user ID");
145
145
  return;
146
146
  }
147
- let e = await ze({ variables: { input: {
148
- workspaceId: r,
149
- targetUserId: I,
150
- reason: K
147
+ let e = await Ue({ variables: { input: {
148
+ workspaceId: b,
149
+ targetUserId: R,
150
+ reason: q
151
151
  } } });
152
- F(e.data ? `Impersonation session ${e.data.recordTimeCampusImpersonationAudit.id} recorded` : "Done"), await we();
152
+ L(e.data ? `Impersonation session ${e.data.recordTimeCampusImpersonationAudit.id} recorded` : "Done"), await Oe();
153
153
  }, $ = [
154
- ce,
155
154
  fe,
156
- he,
155
+ ge,
157
156
  ye,
158
- Ce
157
+ Ce,
158
+ De
159
159
  ].filter(Boolean);
160
- return /* @__PURE__ */ T(e, {
160
+ return /* @__PURE__ */ w(e, {
161
161
  title: "TimeCampus Admin",
162
162
  description: "Workspace state, feature flags, quotas, compliance, and super-admin maintenance actions.",
163
- actions: N ? /* @__PURE__ */ T("button", {
163
+ actions: F ? /* @__PURE__ */ w("button", {
164
164
  type: "button",
165
- onClick: () => x(`/${i}`),
165
+ onClick: () => P(`/${i}`),
166
166
  className: "inline-flex items-center gap-1.5 rounded-md border border-border-subtle bg-bg-surface px-3 py-1.5 text-sm font-medium text-text-primary hover:bg-bg-surface-hover",
167
167
  "data-testid": "timecampus-admin-open-certification",
168
- children: [/* @__PURE__ */ w(f, {
168
+ children: [/* @__PURE__ */ C(d, {
169
169
  className: "h-4 w-4",
170
170
  "aria-hidden": "true"
171
171
  }), "Marketplace Certification"]
172
172
  }) : void 0,
173
173
  children: [
174
- P && /* @__PURE__ */ T("div", {
174
+ I && /* @__PURE__ */ w("div", {
175
175
  className: "mb-4 rounded-md bg-status-info-bg px-4 py-3 text-sm text-status-info-text",
176
- children: [P, /* @__PURE__ */ w("button", {
176
+ children: [I, /* @__PURE__ */ C("button", {
177
177
  type: "button",
178
- onClick: () => F(null),
178
+ onClick: () => L(null),
179
179
  className: "ms-4 underline",
180
180
  children: "Dismiss"
181
181
  })]
182
182
  }),
183
- $.length > 0 && /* @__PURE__ */ T("div", {
183
+ $.length > 0 && /* @__PURE__ */ w("div", {
184
184
  className: "mb-4 rounded-md bg-status-error-bg px-4 py-3 text-sm text-status-error-text",
185
185
  children: ["Failed to load admin data. ", $.map((e) => e?.message).join("; ")]
186
186
  }),
187
- /* @__PURE__ */ T("section", {
187
+ /* @__PURE__ */ w("section", {
188
188
  className: "mb-8",
189
- children: [/* @__PURE__ */ T("h2", {
189
+ children: [/* @__PURE__ */ w("h2", {
190
190
  className: "mb-4 flex items-center gap-2 text-lg font-semibold text-text-primary",
191
- children: [/* @__PURE__ */ w(d, { className: "h-5 w-5" }), "Workspace State"]
192
- }), J ? /* @__PURE__ */ w(n, {}) : /* @__PURE__ */ T("div", {
191
+ children: [/* @__PURE__ */ C(u, { className: "h-5 w-5" }), "Workspace State"]
192
+ }), de ? /* @__PURE__ */ C(n, {}) : /* @__PURE__ */ w("div", {
193
193
  className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-4",
194
194
  children: [
195
- /* @__PURE__ */ w(t, {
195
+ /* @__PURE__ */ C(t, {
196
196
  title: "Time Entries",
197
- value: Y?.timeEntryCount ?? 0
197
+ value: J?.timeEntryCount ?? 0
198
198
  }),
199
- /* @__PURE__ */ w(t, {
199
+ /* @__PURE__ */ C(t, {
200
200
  title: "Projects",
201
- value: Y?.projectCount ?? 0
201
+ value: J?.projectCount ?? 0
202
202
  }),
203
- /* @__PURE__ */ w(t, {
203
+ /* @__PURE__ */ C(t, {
204
204
  title: "Tasks",
205
- value: Y?.taskCount ?? 0
205
+ value: J?.taskCount ?? 0
206
206
  }),
207
- /* @__PURE__ */ w(t, {
207
+ /* @__PURE__ */ C(t, {
208
208
  title: "Pomodoro Sessions",
209
- value: Y?.pomodoroSessionCount ?? 0
209
+ value: J?.pomodoroSessionCount ?? 0
210
210
  }),
211
- /* @__PURE__ */ w(t, {
211
+ /* @__PURE__ */ C(t, {
212
212
  title: "Meetings",
213
- value: Y?.meetingCount ?? 0
213
+ value: J?.meetingCount ?? 0
214
214
  }),
215
- /* @__PURE__ */ w(t, {
215
+ /* @__PURE__ */ C(t, {
216
216
  title: "Expenses",
217
- value: Y?.expenseCount ?? 0
217
+ value: J?.expenseCount ?? 0
218
218
  }),
219
- /* @__PURE__ */ w(t, {
219
+ /* @__PURE__ */ C(t, {
220
220
  title: "Invoices",
221
- value: Y?.invoiceCount ?? 0
221
+ value: J?.invoiceCount ?? 0
222
222
  }),
223
- /* @__PURE__ */ w(t, {
223
+ /* @__PURE__ */ C(t, {
224
224
  title: "Pending Approvals",
225
- value: Y?.pendingApprovalCount ?? 0
225
+ value: J?.pendingApprovalCount ?? 0
226
226
  }),
227
- /* @__PURE__ */ w(t, {
227
+ /* @__PURE__ */ C(t, {
228
228
  title: "Location Entries",
229
- value: Y?.locationEntryCount ?? 0
229
+ value: J?.locationEntryCount ?? 0
230
230
  }),
231
- /* @__PURE__ */ w(t, {
231
+ /* @__PURE__ */ C(t, {
232
232
  title: "Focus Scores",
233
- value: Y?.focusScoreCount ?? 0
233
+ value: J?.focusScoreCount ?? 0
234
234
  }),
235
- /* @__PURE__ */ w(t, {
235
+ /* @__PURE__ */ C(t, {
236
236
  title: "App Usage Records",
237
- value: Y?.applicationUsageCount ?? 0
237
+ value: J?.applicationUsageCount ?? 0
238
238
  })
239
239
  ]
240
240
  })]
241
241
  }),
242
- /* @__PURE__ */ T("section", {
242
+ /* @__PURE__ */ w("section", {
243
243
  className: "mb-8",
244
244
  children: [
245
- /* @__PURE__ */ T("h2", {
245
+ /* @__PURE__ */ w("h2", {
246
246
  className: "mb-4 flex items-center gap-2 text-lg font-semibold text-text-primary",
247
- children: [/* @__PURE__ */ w(m, { className: "h-5 w-5" }), "Feature Flags"]
247
+ children: [/* @__PURE__ */ C(p, { className: "h-5 w-5" }), "Feature Flags"]
248
248
  }),
249
- de ? /* @__PURE__ */ w(n, {}) : /* @__PURE__ */ w(E, {
249
+ he ? /* @__PURE__ */ C(n, {}) : /* @__PURE__ */ C(T, {
250
250
  className: "mb-4 overflow-hidden",
251
- children: /* @__PURE__ */ T("table", {
251
+ children: /* @__PURE__ */ w("table", {
252
252
  className: "w-full text-sm",
253
- children: [/* @__PURE__ */ w("thead", {
253
+ children: [/* @__PURE__ */ C("thead", {
254
254
  className: "bg-bg-subtle",
255
- children: /* @__PURE__ */ T("tr", { children: [
256
- /* @__PURE__ */ w("th", {
255
+ children: /* @__PURE__ */ w("tr", { children: [
256
+ /* @__PURE__ */ C("th", {
257
257
  className: "px-4 py-3 text-start font-medium text-text-secondary",
258
258
  children: "Key"
259
259
  }),
260
- /* @__PURE__ */ w("th", {
260
+ /* @__PURE__ */ C("th", {
261
261
  className: "px-4 py-3 text-start font-medium text-text-secondary",
262
262
  children: "Category"
263
263
  }),
264
- /* @__PURE__ */ w("th", {
264
+ /* @__PURE__ */ C("th", {
265
265
  className: "px-4 py-3 text-start font-medium text-text-secondary",
266
266
  children: "Default"
267
267
  }),
268
- /* @__PURE__ */ w("th", {
268
+ /* @__PURE__ */ C("th", {
269
269
  className: "px-4 py-3 text-start font-medium text-text-secondary",
270
270
  children: "Current"
271
271
  })
272
272
  ] })
273
- }), /* @__PURE__ */ w("tbody", { children: Ve.map((e) => /* @__PURE__ */ T("tr", {
273
+ }), /* @__PURE__ */ C("tbody", { children: Ge.map((e) => /* @__PURE__ */ w("tr", {
274
274
  className: "border-t border-border-subtle",
275
275
  children: [
276
- /* @__PURE__ */ w("td", {
276
+ /* @__PURE__ */ C("td", {
277
277
  className: "px-4 py-3 font-mono text-text-primary",
278
278
  children: e.key
279
279
  }),
280
- /* @__PURE__ */ w("td", {
280
+ /* @__PURE__ */ C("td", {
281
281
  className: "px-4 py-3 text-text-secondary",
282
282
  children: e.category
283
283
  }),
284
- /* @__PURE__ */ w("td", {
284
+ /* @__PURE__ */ C("td", {
285
285
  className: "px-4 py-3 text-text-secondary",
286
286
  children: String(e.defaultValue)
287
287
  }),
288
- /* @__PURE__ */ w("td", {
288
+ /* @__PURE__ */ C("td", {
289
289
  className: "px-4 py-3",
290
- children: /* @__PURE__ */ w("span", {
290
+ children: /* @__PURE__ */ C("span", {
291
291
  className: `inline-flex rounded-full px-2 py-1 text-xs font-medium ${e.value ? "bg-status-success-bg text-status-success-text" : "bg-status-error-bg text-status-error-text"}`,
292
292
  children: e.value ? "Enabled" : "Disabled"
293
293
  })
@@ -296,253 +296,253 @@ var N = () => {
296
296
  }, e.key)) })]
297
297
  })
298
298
  }),
299
- /* @__PURE__ */ T(E, {
299
+ /* @__PURE__ */ w(T, {
300
300
  className: "flex flex-wrap items-end gap-4 p-4",
301
301
  children: [
302
- /* @__PURE__ */ T("div", {
302
+ /* @__PURE__ */ w("div", {
303
303
  className: "flex flex-col gap-1",
304
- children: [/* @__PURE__ */ w("label", {
304
+ children: [/* @__PURE__ */ C("label", {
305
305
  className: "text-xs font-medium text-text-secondary",
306
306
  children: "Flag key"
307
- }), /* @__PURE__ */ w("input", {
307
+ }), /* @__PURE__ */ C("input", {
308
308
  type: "text",
309
- value: R,
310
- onChange: (e) => z(e.target.value),
309
+ value: B,
310
+ onChange: (e) => V(e.target.value),
311
311
  className: "rounded-md border border-border-subtle bg-bg-subtle px-3 py-2 text-sm text-text-primary"
312
312
  })]
313
313
  }),
314
- /* @__PURE__ */ T("div", {
314
+ /* @__PURE__ */ w("div", {
315
315
  className: "flex flex-col gap-1",
316
- children: [/* @__PURE__ */ w("label", {
316
+ children: [/* @__PURE__ */ C("label", {
317
317
  className: "text-xs font-medium text-text-secondary",
318
318
  children: "Enabled"
319
- }), /* @__PURE__ */ T("select", {
320
- value: String(B),
321
- onChange: (e) => V(e.target.value === "true"),
319
+ }), /* @__PURE__ */ w(E, {
320
+ value: String(H),
321
+ onChange: (e) => U(e.target.value === "true"),
322
322
  className: "rounded-md border border-border-subtle bg-bg-subtle px-3 py-2 text-sm text-text-primary",
323
- children: [/* @__PURE__ */ w("option", {
323
+ children: [/* @__PURE__ */ C("option", {
324
324
  value: "true",
325
325
  children: "true"
326
- }), /* @__PURE__ */ w("option", {
326
+ }), /* @__PURE__ */ C("option", {
327
327
  value: "false",
328
328
  children: "false"
329
329
  })]
330
330
  })]
331
331
  }),
332
- /* @__PURE__ */ T("button", {
332
+ /* @__PURE__ */ w("button", {
333
333
  type: "button",
334
- onClick: We,
335
- disabled: Ae,
334
+ onClick: qe,
335
+ disabled: Pe,
336
336
  className: "inline-flex items-center gap-2 rounded-md bg-action-primary-bg px-4 py-2 text-sm font-medium text-action-primary-text hover:bg-action-primary-bg/90 disabled:opacity-50",
337
- children: [/* @__PURE__ */ w(m, { className: "h-4 w-4" }), "Set Override"]
337
+ children: [/* @__PURE__ */ C(p, { className: "h-4 w-4" }), "Set Override"]
338
338
  }),
339
- /* @__PURE__ */ T("button", {
339
+ /* @__PURE__ */ w("button", {
340
340
  type: "button",
341
- onClick: Ge,
342
- disabled: Me,
341
+ onClick: Je,
342
+ disabled: Ie,
343
343
  className: "inline-flex items-center gap-2 rounded-md bg-status-error-bg px-4 py-2 text-sm font-medium text-status-error-text hover:bg-status-error-bg/90 disabled:opacity-50",
344
- children: [/* @__PURE__ */ w(_, { className: "h-4 w-4" }), "Remove Override"]
344
+ children: [/* @__PURE__ */ C(g, { className: "h-4 w-4" }), "Remove Override"]
345
345
  })
346
346
  ]
347
347
  })
348
348
  ]
349
349
  }),
350
- /* @__PURE__ */ T("section", {
350
+ /* @__PURE__ */ w("section", {
351
351
  className: "mb-8",
352
352
  children: [
353
- /* @__PURE__ */ T("h2", {
353
+ /* @__PURE__ */ w("h2", {
354
354
  className: "mb-4 flex items-center gap-2 text-lg font-semibold text-text-primary",
355
- children: [/* @__PURE__ */ w(h, { className: "h-5 w-5" }), "Workspace Quotas"]
355
+ children: [/* @__PURE__ */ C(m, { className: "h-5 w-5" }), "Workspace Quotas"]
356
356
  }),
357
- me ? /* @__PURE__ */ w(n, {}) : /* @__PURE__ */ w(E, {
357
+ ve ? /* @__PURE__ */ C(n, {}) : /* @__PURE__ */ C(T, {
358
358
  className: "mb-4 overflow-hidden",
359
- children: /* @__PURE__ */ T("table", {
359
+ children: /* @__PURE__ */ w("table", {
360
360
  className: "w-full text-sm",
361
- children: [/* @__PURE__ */ w("thead", {
361
+ children: [/* @__PURE__ */ C("thead", {
362
362
  className: "bg-bg-subtle",
363
- children: /* @__PURE__ */ T("tr", { children: [
364
- /* @__PURE__ */ w("th", {
363
+ children: /* @__PURE__ */ w("tr", { children: [
364
+ /* @__PURE__ */ C("th", {
365
365
  className: "px-4 py-3 text-start font-medium text-text-secondary",
366
366
  children: "Quota"
367
367
  }),
368
- /* @__PURE__ */ w("th", {
368
+ /* @__PURE__ */ C("th", {
369
369
  className: "px-4 py-3 text-start font-medium text-text-secondary",
370
370
  children: "Product"
371
371
  }),
372
- /* @__PURE__ */ w("th", {
372
+ /* @__PURE__ */ C("th", {
373
373
  className: "px-4 py-3 text-start font-medium text-text-secondary",
374
374
  children: "Limit"
375
375
  }),
376
- /* @__PURE__ */ w("th", {
376
+ /* @__PURE__ */ C("th", {
377
377
  className: "px-4 py-3 text-start font-medium text-text-secondary",
378
378
  children: "Used"
379
379
  }),
380
- /* @__PURE__ */ w("th", {
380
+ /* @__PURE__ */ C("th", {
381
381
  className: "px-4 py-3 text-start font-medium text-text-secondary",
382
382
  children: "Reset"
383
383
  }),
384
- /* @__PURE__ */ w("th", {
384
+ /* @__PURE__ */ C("th", {
385
385
  className: "px-4 py-3 text-start font-medium text-text-secondary",
386
386
  children: "Active"
387
387
  })
388
388
  ] })
389
- }), /* @__PURE__ */ T("tbody", { children: [X.map((e) => /* @__PURE__ */ T("tr", {
389
+ }), /* @__PURE__ */ w("tbody", { children: [Y.map((e) => /* @__PURE__ */ w("tr", {
390
390
  className: "border-t border-border-subtle",
391
391
  children: [
392
- /* @__PURE__ */ w("td", {
392
+ /* @__PURE__ */ C("td", {
393
393
  className: "px-4 py-3 font-mono text-text-primary",
394
394
  children: e.quotaName
395
395
  }),
396
- /* @__PURE__ */ w("td", {
396
+ /* @__PURE__ */ C("td", {
397
397
  className: "px-4 py-3 text-text-secondary",
398
398
  children: e.productId
399
399
  }),
400
- /* @__PURE__ */ w("td", {
400
+ /* @__PURE__ */ C("td", {
401
401
  className: "px-4 py-3 text-text-secondary",
402
- children: e.noLimit ? "Unlimited" : M(e.limit)
402
+ children: e.noLimit ? "Unlimited" : N(e.limit)
403
403
  }),
404
- /* @__PURE__ */ w("td", {
404
+ /* @__PURE__ */ C("td", {
405
405
  className: "px-4 py-3 text-text-secondary",
406
- children: M(e.used)
406
+ children: N(e.used)
407
407
  }),
408
- /* @__PURE__ */ w("td", {
408
+ /* @__PURE__ */ C("td", {
409
409
  className: "px-4 py-3 text-text-secondary",
410
410
  children: e.resetPeriod
411
411
  }),
412
- /* @__PURE__ */ w("td", {
412
+ /* @__PURE__ */ C("td", {
413
413
  className: "px-4 py-3 text-text-secondary",
414
414
  children: e.isActive ? "Yes" : "No"
415
415
  })
416
416
  ]
417
- }, e.id)), X.length === 0 && /* @__PURE__ */ w("tr", { children: /* @__PURE__ */ w("td", {
417
+ }, e.id)), Y.length === 0 && /* @__PURE__ */ C("tr", { children: /* @__PURE__ */ C("td", {
418
418
  colSpan: 6,
419
419
  className: "px-4 py-3 text-center text-text-secondary",
420
420
  children: "No quota assignments for this workspace."
421
421
  }) })] })]
422
422
  })
423
423
  }),
424
- /* @__PURE__ */ T(E, {
424
+ /* @__PURE__ */ w(T, {
425
425
  className: "flex flex-wrap items-end gap-4 p-4",
426
426
  children: [
427
- /* @__PURE__ */ T("div", {
427
+ /* @__PURE__ */ w("div", {
428
428
  className: "flex flex-col gap-1",
429
- children: [/* @__PURE__ */ w("label", {
429
+ children: [/* @__PURE__ */ C("label", {
430
430
  className: "text-xs font-medium text-text-secondary",
431
431
  children: "Quota name"
432
- }), /* @__PURE__ */ w("input", {
432
+ }), /* @__PURE__ */ C("input", {
433
433
  type: "text",
434
- value: H,
435
- onChange: (e) => U(e.target.value),
434
+ value: W,
435
+ onChange: (e) => G(e.target.value),
436
436
  className: "rounded-md border border-border-subtle bg-bg-subtle px-3 py-2 text-sm text-text-primary"
437
437
  })]
438
438
  }),
439
- /* @__PURE__ */ T("div", {
439
+ /* @__PURE__ */ w("div", {
440
440
  className: "flex flex-col gap-1",
441
- children: [/* @__PURE__ */ w("label", {
441
+ children: [/* @__PURE__ */ C("label", {
442
442
  className: "text-xs font-medium text-text-secondary",
443
443
  children: "Limit (empty = unlimited)"
444
- }), /* @__PURE__ */ w("input", {
444
+ }), /* @__PURE__ */ C("input", {
445
445
  type: "number",
446
- value: W,
447
- onChange: (e) => G(e.target.value),
446
+ value: K,
447
+ onChange: (e) => ce(e.target.value),
448
448
  className: "rounded-md border border-border-subtle bg-bg-subtle px-3 py-2 text-sm text-text-primary"
449
449
  })]
450
450
  }),
451
- /* @__PURE__ */ T("button", {
451
+ /* @__PURE__ */ w("button", {
452
452
  type: "button",
453
- onClick: Ke,
454
- disabled: Pe,
453
+ onClick: Ye,
454
+ disabled: Re,
455
455
  className: "inline-flex items-center gap-2 rounded-md bg-action-primary-bg px-4 py-2 text-sm font-medium text-action-primary-text hover:bg-action-primary-bg/90 disabled:opacity-50",
456
- children: [/* @__PURE__ */ w(h, { className: "h-4 w-4" }), "Override Quota"]
456
+ children: [/* @__PURE__ */ C(m, { className: "h-4 w-4" }), "Override Quota"]
457
457
  })
458
458
  ]
459
459
  })
460
460
  ]
461
461
  }),
462
- /* @__PURE__ */ T("section", {
462
+ /* @__PURE__ */ w("section", {
463
463
  className: "mb-8",
464
464
  children: [
465
- /* @__PURE__ */ T("h2", {
465
+ /* @__PURE__ */ w("h2", {
466
466
  className: "mb-4 flex items-center gap-2 text-lg font-semibold text-text-primary",
467
- children: [/* @__PURE__ */ w(oe, { className: "h-5 w-5" }), "User Data Export / Erasure"]
467
+ children: [/* @__PURE__ */ C(se, { className: "h-5 w-5" }), "User Data Export / Erasure"]
468
468
  }),
469
- /* @__PURE__ */ T(E, {
469
+ /* @__PURE__ */ w(T, {
470
470
  className: "flex flex-wrap items-end gap-4 p-4",
471
471
  children: [
472
- /* @__PURE__ */ T("div", {
472
+ /* @__PURE__ */ w("div", {
473
473
  className: "flex flex-col gap-1",
474
- children: [/* @__PURE__ */ w("label", {
474
+ children: [/* @__PURE__ */ C("label", {
475
475
  className: "text-xs font-medium text-text-secondary",
476
476
  children: "Target user ID"
477
- }), /* @__PURE__ */ w("input", {
477
+ }), /* @__PURE__ */ C("input", {
478
478
  type: "text",
479
- value: I,
480
- onChange: (e) => L(e.target.value),
479
+ value: R,
480
+ onChange: (e) => z(e.target.value),
481
481
  placeholder: "user-uuid",
482
482
  className: "rounded-md border border-border-subtle bg-bg-subtle px-3 py-2 text-sm text-text-primary"
483
483
  })]
484
484
  }),
485
- /* @__PURE__ */ T("button", {
485
+ /* @__PURE__ */ w("button", {
486
486
  type: "button",
487
- onClick: qe,
488
- disabled: Ie,
487
+ onClick: Xe,
488
+ disabled: Be,
489
489
  className: "inline-flex items-center gap-2 rounded-md bg-action-primary-bg px-4 py-2 text-sm font-medium text-action-primary-text hover:bg-action-primary-bg/90 disabled:opacity-50",
490
- children: [/* @__PURE__ */ w(p, { className: "h-4 w-4" }), "Export User Data"]
490
+ children: [/* @__PURE__ */ C(f, { className: "h-4 w-4" }), "Export User Data"]
491
491
  }),
492
- /* @__PURE__ */ T("button", {
492
+ /* @__PURE__ */ w("button", {
493
493
  type: "button",
494
- onClick: Je,
495
- disabled: Re,
494
+ onClick: Ze,
495
+ disabled: He,
496
496
  className: "inline-flex items-center gap-2 rounded-md bg-status-error-bg px-4 py-2 text-sm font-medium text-status-error-text hover:bg-status-error-bg/90 disabled:opacity-50",
497
- children: [/* @__PURE__ */ w(y, { className: "h-4 w-4" }), "Request Erasure"]
497
+ children: [/* @__PURE__ */ C(v, { className: "h-4 w-4" }), "Request Erasure"]
498
498
  })
499
499
  ]
500
500
  }),
501
- ve ? /* @__PURE__ */ w(n, {}) : /* @__PURE__ */ w(E, {
501
+ Se ? /* @__PURE__ */ C(n, {}) : /* @__PURE__ */ C(T, {
502
502
  className: "mt-4 overflow-hidden",
503
- children: /* @__PURE__ */ T("table", {
503
+ children: /* @__PURE__ */ w("table", {
504
504
  className: "w-full text-sm",
505
- children: [/* @__PURE__ */ w("thead", {
505
+ children: [/* @__PURE__ */ C("thead", {
506
506
  className: "bg-bg-subtle",
507
- children: /* @__PURE__ */ T("tr", { children: [
508
- /* @__PURE__ */ w("th", {
507
+ children: /* @__PURE__ */ w("tr", { children: [
508
+ /* @__PURE__ */ C("th", {
509
509
  className: "px-4 py-3 text-start font-medium text-text-secondary",
510
510
  children: "User"
511
511
  }),
512
- /* @__PURE__ */ w("th", {
512
+ /* @__PURE__ */ C("th", {
513
513
  className: "px-4 py-3 text-start font-medium text-text-secondary",
514
514
  children: "Status"
515
515
  }),
516
- /* @__PURE__ */ w("th", {
516
+ /* @__PURE__ */ C("th", {
517
517
  className: "px-4 py-3 text-start font-medium text-text-secondary",
518
518
  children: "Requested By"
519
519
  }),
520
- /* @__PURE__ */ w("th", {
520
+ /* @__PURE__ */ C("th", {
521
521
  className: "px-4 py-3 text-start font-medium text-text-secondary",
522
522
  children: "Requested At"
523
523
  })
524
524
  ] })
525
- }), /* @__PURE__ */ T("tbody", { children: [Z.map((e) => /* @__PURE__ */ T("tr", {
525
+ }), /* @__PURE__ */ w("tbody", { children: [X.map((e) => /* @__PURE__ */ w("tr", {
526
526
  className: "border-t border-border-subtle",
527
527
  children: [
528
- /* @__PURE__ */ w("td", {
528
+ /* @__PURE__ */ C("td", {
529
529
  className: "px-4 py-3 font-mono text-text-primary",
530
530
  children: e.userId
531
531
  }),
532
- /* @__PURE__ */ w("td", {
532
+ /* @__PURE__ */ C("td", {
533
533
  className: "px-4 py-3 text-text-secondary",
534
534
  children: e.status
535
535
  }),
536
- /* @__PURE__ */ w("td", {
536
+ /* @__PURE__ */ C("td", {
537
537
  className: "px-4 py-3 text-text-secondary",
538
538
  children: e.requestedBy
539
539
  }),
540
- /* @__PURE__ */ w("td", {
540
+ /* @__PURE__ */ C("td", {
541
541
  className: "px-4 py-3 text-text-secondary",
542
542
  children: new Date(e.requestedAt).toLocaleString()
543
543
  })
544
544
  ]
545
- }, e.id)), Z.length === 0 && /* @__PURE__ */ w("tr", { children: /* @__PURE__ */ w("td", {
545
+ }, e.id)), X.length === 0 && /* @__PURE__ */ C("tr", { children: /* @__PURE__ */ C("td", {
546
546
  colSpan: 4,
547
547
  className: "px-4 py-3 text-center text-text-secondary",
548
548
  children: "No erasure requests."
@@ -551,66 +551,66 @@ var N = () => {
551
551
  })
552
552
  ]
553
553
  }),
554
- /* @__PURE__ */ T("section", {
554
+ /* @__PURE__ */ w("section", {
555
555
  className: "mb-8",
556
556
  children: [
557
- /* @__PURE__ */ T("h2", {
557
+ /* @__PURE__ */ w("h2", {
558
558
  className: "mb-4 flex items-center gap-2 text-lg font-semibold text-text-primary",
559
- children: [/* @__PURE__ */ w(b, { className: "h-5 w-5" }), "Impersonation Audit"]
559
+ children: [/* @__PURE__ */ C(y, { className: "h-5 w-5" }), "Impersonation Audit"]
560
560
  }),
561
- /* @__PURE__ */ T(E, {
561
+ /* @__PURE__ */ w(T, {
562
562
  className: "flex flex-wrap items-end gap-4 p-4",
563
- children: [/* @__PURE__ */ T("div", {
563
+ children: [/* @__PURE__ */ w("div", {
564
564
  className: "flex flex-col gap-1",
565
- children: [/* @__PURE__ */ w("label", {
565
+ children: [/* @__PURE__ */ C("label", {
566
566
  className: "text-xs font-medium text-text-secondary",
567
567
  children: "Reason"
568
- }), /* @__PURE__ */ w("input", {
568
+ }), /* @__PURE__ */ C("input", {
569
569
  type: "text",
570
- value: K,
571
- onChange: (e) => q(e.target.value),
570
+ value: q,
571
+ onChange: (e) => le(e.target.value),
572
572
  className: "rounded-md border border-border-subtle bg-bg-subtle px-3 py-2 text-sm text-text-primary"
573
573
  })]
574
- }), /* @__PURE__ */ T("button", {
574
+ }), /* @__PURE__ */ w("button", {
575
575
  type: "button",
576
- onClick: Ye,
577
- disabled: Be,
576
+ onClick: Qe,
577
+ disabled: We,
578
578
  className: "inline-flex items-center gap-2 rounded-md bg-action-primary-bg px-4 py-2 text-sm font-medium text-action-primary-text hover:bg-action-primary-bg/90 disabled:opacity-50",
579
- children: [/* @__PURE__ */ w(b, { className: "h-4 w-4" }), "Record Session"]
579
+ children: [/* @__PURE__ */ C(y, { className: "h-4 w-4" }), "Record Session"]
580
580
  })]
581
581
  }),
582
- Se ? /* @__PURE__ */ w(n, {}) : /* @__PURE__ */ w(E, {
582
+ Ee ? /* @__PURE__ */ C(n, {}) : /* @__PURE__ */ C(T, {
583
583
  className: "mt-4 overflow-hidden",
584
- children: /* @__PURE__ */ T("table", {
584
+ children: /* @__PURE__ */ w("table", {
585
585
  className: "w-full text-sm",
586
- children: [/* @__PURE__ */ w("thead", {
586
+ children: [/* @__PURE__ */ C("thead", {
587
587
  className: "bg-bg-subtle",
588
- children: /* @__PURE__ */ T("tr", { children: [
589
- /* @__PURE__ */ w("th", {
588
+ children: /* @__PURE__ */ w("tr", { children: [
589
+ /* @__PURE__ */ C("th", {
590
590
  className: "px-4 py-3 text-start font-medium text-text-secondary",
591
591
  children: "Target User"
592
592
  }),
593
- /* @__PURE__ */ w("th", {
593
+ /* @__PURE__ */ C("th", {
594
594
  className: "px-4 py-3 text-start font-medium text-text-secondary",
595
595
  children: "Actor"
596
596
  }),
597
- /* @__PURE__ */ w("th", {
597
+ /* @__PURE__ */ C("th", {
598
598
  className: "px-4 py-3 text-start font-medium text-text-secondary",
599
599
  children: "Reason"
600
600
  }),
601
- /* @__PURE__ */ w("th", {
601
+ /* @__PURE__ */ C("th", {
602
602
  className: "px-4 py-3 text-start font-medium text-text-secondary",
603
603
  children: "Started At"
604
604
  })
605
605
  ] })
606
- }), /* @__PURE__ */ T("tbody", { children: [Q.map((e) => /* @__PURE__ */ T("tr", {
606
+ }), /* @__PURE__ */ w("tbody", { children: [Z.map((e) => /* @__PURE__ */ w("tr", {
607
607
  className: "border-t border-border-subtle",
608
608
  children: [
609
- /* @__PURE__ */ w("td", {
609
+ /* @__PURE__ */ C("td", {
610
610
  className: "px-4 py-3 font-mono text-text-primary",
611
611
  children: e.targetUserId
612
612
  }),
613
- /* @__PURE__ */ T("td", {
613
+ /* @__PURE__ */ w("td", {
614
614
  className: "px-4 py-3 text-text-secondary",
615
615
  children: [
616
616
  e.actorId,
@@ -619,16 +619,16 @@ var N = () => {
619
619
  ")"
620
620
  ]
621
621
  }),
622
- /* @__PURE__ */ w("td", {
622
+ /* @__PURE__ */ C("td", {
623
623
  className: "px-4 py-3 text-text-secondary",
624
624
  children: e.reason ?? "—"
625
625
  }),
626
- /* @__PURE__ */ w("td", {
626
+ /* @__PURE__ */ C("td", {
627
627
  className: "px-4 py-3 text-text-secondary",
628
628
  children: new Date(e.startedAt).toLocaleString()
629
629
  })
630
630
  ]
631
- }, e.id)), Q.length === 0 && /* @__PURE__ */ w("tr", { children: /* @__PURE__ */ w("td", {
631
+ }, e.id)), Z.length === 0 && /* @__PURE__ */ C("tr", { children: /* @__PURE__ */ C("td", {
632
632
  colSpan: 4,
633
633
  className: "px-4 py-3 text-center text-text-secondary",
634
634
  children: "No impersonation sessions recorded."
@@ -637,28 +637,28 @@ var N = () => {
637
637
  })
638
638
  ]
639
639
  }),
640
- /* @__PURE__ */ T("section", { children: [/* @__PURE__ */ T("h2", {
640
+ /* @__PURE__ */ w("section", { children: [/* @__PURE__ */ w("h2", {
641
641
  className: "mb-4 flex items-center gap-2 text-lg font-semibold text-text-primary",
642
- children: [/* @__PURE__ */ w(g, { className: "h-5 w-5" }), "Maintenance"]
643
- }), /* @__PURE__ */ T(E, {
642
+ children: [/* @__PURE__ */ C(h, { className: "h-5 w-5" }), "Maintenance"]
643
+ }), /* @__PURE__ */ w(T, {
644
644
  className: "flex flex-wrap items-center gap-4 p-4",
645
- children: [/* @__PURE__ */ T("button", {
645
+ children: [/* @__PURE__ */ w("button", {
646
646
  type: "button",
647
- onClick: He,
648
- disabled: Ee,
647
+ onClick: Q,
648
+ disabled: Ae,
649
649
  className: "inline-flex items-center gap-2 rounded-md bg-action-primary-bg px-4 py-2 text-sm font-medium text-action-primary-text hover:bg-action-primary-bg/90 disabled:opacity-50",
650
- children: [/* @__PURE__ */ w(g, { className: "h-4 w-4" }), "Reprocess Timeline"]
651
- }), /* @__PURE__ */ T("button", {
650
+ children: [/* @__PURE__ */ C(h, { className: "h-4 w-4" }), "Reprocess Timeline"]
651
+ }), /* @__PURE__ */ w("button", {
652
652
  type: "button",
653
- onClick: Ue,
654
- disabled: Oe,
653
+ onClick: Ke,
654
+ disabled: Me,
655
655
  className: "inline-flex items-center gap-2 rounded-md bg-status-error-bg px-4 py-2 text-sm font-medium text-status-error-text hover:bg-status-error-bg/90 disabled:opacity-50",
656
- children: [/* @__PURE__ */ w(_, { className: "h-4 w-4" }), "Reset Demo Data"]
656
+ children: [/* @__PURE__ */ C(g, { className: "h-4 w-4" }), "Reset Demo Data"]
657
657
  })]
658
658
  })] })
659
659
  ]
660
660
  });
661
- }, P = () => /* @__PURE__ */ w(r, { children: /* @__PURE__ */ w(N, {}) });
662
- export { P as AdminPage };
661
+ }, F = () => /* @__PURE__ */ C(r, { children: /* @__PURE__ */ C(P, {}) });
662
+ export { F as AdminPage };
663
663
 
664
664
  //# sourceMappingURL=AdminPage.js.map