@burdenoff/microfe-planmagnet 2026.801.1 → 2026.829.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 (27) hide show
  1. package/dist/planmagnet/PlanMagnetRoot.d.ts.map +1 -1
  2. package/dist/planmagnet/PlanMagnetRoot.js +104 -104
  3. package/dist/planmagnet/PlanMagnetRoot.js.map +1 -1
  4. package/dist/planmagnet/admin/PlanMagnetAdminRoot.d.ts.map +1 -1
  5. package/dist/planmagnet/admin/PlanMagnetAdminRoot.js +134 -134
  6. package/dist/planmagnet/admin/PlanMagnetAdminRoot.js.map +1 -1
  7. package/dist/planmagnet/pages/ProductsFeaturesPagePage.d.ts.map +1 -1
  8. package/dist/planmagnet/pages/ProductsFeaturesPagePage.js +92 -91
  9. package/dist/planmagnet/pages/ProductsFeaturesPagePage.js.map +1 -1
  10. package/dist/planmagnet/pages/ProductsRoadmapsPagePage.d.ts.map +1 -1
  11. package/dist/planmagnet/pages/ProductsRoadmapsPagePage.js +66 -65
  12. package/dist/planmagnet/pages/ProductsRoadmapsPagePage.js.map +1 -1
  13. package/dist/planmagnet/pages/ProjectsProjectsPagePage.d.ts.map +1 -1
  14. package/dist/planmagnet/pages/ProjectsProjectsPagePage.js +71 -70
  15. package/dist/planmagnet/pages/ProjectsProjectsPagePage.js.map +1 -1
  16. package/dist/planmagnet/pages/ReportsReportsPagePage.d.ts.map +1 -1
  17. package/dist/planmagnet/pages/ReportsReportsPagePage.js +1 -1
  18. package/dist/planmagnet/pages/ReportsReportsPagePage.js.map +1 -1
  19. package/dist/shared/hooks/useTr.d.ts +12 -0
  20. package/dist/shared/hooks/useTr.d.ts.map +1 -0
  21. package/dist/shared/hooks/useTr.js +15 -0
  22. package/dist/shared/hooks/useTr.js.map +1 -0
  23. package/dist/shared/utils/i18n.d.ts +5 -0
  24. package/dist/shared/utils/i18n.d.ts.map +1 -0
  25. package/dist/shared/utils/i18n.js +8 -0
  26. package/dist/shared/utils/i18n.js.map +1 -0
  27. package/package.json +2 -2
@@ -1,14 +1,14 @@
1
1
  import { PlanMagnetProvider as e, usePlanMagnet as t } from "../providers/PlanMagnetProvider.js";
2
- import { cn as n } from "../utils/cn.js";
3
- import { useMemo as r, useState as i } from "react";
4
- import { AlertCircle as a, Archive as o, FolderKanban as s, LayoutTemplate as c, Loader2 as l, Zap as u } from "lucide-react";
5
- import { gql as d } from "@apollo/client";
6
- import { useMutation as f, useQuery as p } from "@apollo/client/react";
7
- import { Fragment as m, jsx as h, jsxs as g } from "react/jsx-runtime";
8
- import { useI18n as _ } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
2
+ import { useTr as n } from "../../shared/hooks/useTr.js";
3
+ import { cn as r } from "../utils/cn.js";
4
+ import { useMemo as i, useState as a } from "react";
5
+ import { AlertCircle as o, Archive as s, FolderKanban as c, LayoutTemplate as l, Loader2 as u, Zap as d } from "lucide-react";
6
+ import { gql as f } from "@apollo/client";
7
+ import { useMutation as p, useQuery as m } from "@apollo/client/react";
8
+ import { Fragment as h, jsx as g, jsxs as _ } from "react/jsx-runtime";
9
9
  import { Badge as v, Button as y, Card as b, CardContent as x, CardHeader as S, CardTitle as C, Checkbox as w, Skeleton as T } from "@burdenoff/fe-libs/ui";
10
10
  //#region src/planmagnet/admin/PlanMagnetAdminRoot.tsx
11
- var E = d`
11
+ var E = f`
12
12
  query AdminPlanmagnetProjects($workspaceId: ID!) {
13
13
  planmagnetProjects(workspaceId: $workspaceId, pagination: { first: 100 }) {
14
14
  items {
@@ -23,7 +23,7 @@ var E = d`
23
23
  totalCount
24
24
  }
25
25
  }
26
- `, D = d`
26
+ `, D = f`
27
27
  query AdminPlanmagnetBoards($workspaceId: ID!) {
28
28
  planmagnetBoards(workspaceId: $workspaceId, pagination: { first: 100 }) {
29
29
  items {
@@ -35,7 +35,7 @@ var E = d`
35
35
  totalCount
36
36
  }
37
37
  }
38
- `, O = d`
38
+ `, O = f`
39
39
  query AdminPlanmagnetAutomationRules($workspaceId: ID!) {
40
40
  planmagnetAutomationRules(workspaceId: $workspaceId, pagination: { first: 100 }) {
41
41
  items {
@@ -50,9 +50,9 @@ var E = d`
50
50
  totalCount
51
51
  }
52
52
  }
53
- `, k = d`
54
- mutation AdminArchiveProject($id: ID!) {
55
- planmagnetUpdateProject(id: $id, input: { status: ARCHIVED }) {
53
+ `, k = f`
54
+ mutation AdminArchiveProjectr($id: ID!) {
55
+ planmagnetUpdateProjectr(id: $id, input: { status: ARCHIVED }) {
56
56
  id
57
57
  status
58
58
  }
@@ -92,38 +92,38 @@ function N(e) {
92
92
  function P(e) {
93
93
  return e.toLowerCase().replace(/_/g, " ");
94
94
  }
95
- function F({ icon: e, label: t, used: r, limit: i, className: a }) {
96
- let o = Math.min(100, Math.round(r / Math.max(1, i) * 100));
97
- return /* @__PURE__ */ h(b, {
95
+ function F({ icon: e, label: t, used: n, limit: i, className: a }) {
96
+ let o = Math.min(100, Math.round(n / Math.max(1, i) * 100));
97
+ return /* @__PURE__ */ g(b, {
98
98
  className: a,
99
- children: /* @__PURE__ */ g(x, {
99
+ children: /* @__PURE__ */ _(x, {
100
100
  className: "pt-6",
101
101
  children: [
102
- /* @__PURE__ */ g("div", {
102
+ /* @__PURE__ */ _("div", {
103
103
  className: "flex items-center gap-2 text-muted-foreground",
104
- children: [/* @__PURE__ */ h(e, { className: "h-4 w-4" }), /* @__PURE__ */ h("span", {
104
+ children: [/* @__PURE__ */ g(e, { className: "h-4 w-4" }), /* @__PURE__ */ g("span", {
105
105
  className: "text-sm",
106
106
  children: t
107
107
  })]
108
108
  }),
109
- /* @__PURE__ */ g("div", {
109
+ /* @__PURE__ */ _("div", {
110
110
  className: "mt-2 flex items-baseline gap-2",
111
- children: [/* @__PURE__ */ h("span", {
111
+ children: [/* @__PURE__ */ g("span", {
112
112
  className: "text-2xl font-semibold",
113
- children: r
114
- }), /* @__PURE__ */ g("span", {
113
+ children: n
114
+ }), /* @__PURE__ */ _("span", {
115
115
  className: "text-sm text-muted-foreground",
116
116
  children: ["/ ", i]
117
117
  })]
118
118
  }),
119
- /* @__PURE__ */ h("div", {
119
+ /* @__PURE__ */ g("div", {
120
120
  className: "mt-3 h-2 w-full overflow-hidden rounded-full bg-muted",
121
- children: /* @__PURE__ */ h("div", {
122
- className: n("h-full rounded-full transition-all", o >= 90 ? "bg-destructive" : o >= 70 ? "bg-warning" : "bg-success"),
121
+ children: /* @__PURE__ */ g("div", {
122
+ className: r("h-full rounded-full transition-all", o >= 90 ? "bg-destructive" : o >= 70 ? "bg-warning" : "bg-success"),
123
123
  style: { width: `${o}%` }
124
124
  })
125
125
  }),
126
- /* @__PURE__ */ g("p", {
126
+ /* @__PURE__ */ _("p", {
127
127
  className: "mt-2 text-xs text-muted-foreground",
128
128
  children: [o, "% used"]
129
129
  })
@@ -132,31 +132,31 @@ function F({ icon: e, label: t, used: r, limit: i, className: a }) {
132
132
  });
133
133
  }
134
134
  function I() {
135
- return /* @__PURE__ */ g("div", {
135
+ return /* @__PURE__ */ _("div", {
136
136
  className: "space-y-3",
137
- children: [/* @__PURE__ */ h(T, { className: "h-8 w-1/3" }), /* @__PURE__ */ h(T, { className: "h-32 w-full" })]
137
+ children: [/* @__PURE__ */ g(T, { className: "h-8 w-1/3" }), /* @__PURE__ */ g(T, { className: "h-32 w-full" })]
138
138
  });
139
139
  }
140
- function L({ columns: e, data: t, emptyState: r }) {
141
- return t.length === 0 ? /* @__PURE__ */ h("div", {
140
+ function L({ columns: e, data: t, emptyState: n }) {
141
+ return t.length === 0 ? /* @__PURE__ */ g("div", {
142
142
  className: "py-8 text-center text-sm text-muted-foreground",
143
- children: r
144
- }) : /* @__PURE__ */ h("div", {
143
+ children: n
144
+ }) : /* @__PURE__ */ g("div", {
145
145
  className: "overflow-x-auto",
146
- children: /* @__PURE__ */ g("table", {
146
+ children: /* @__PURE__ */ _("table", {
147
147
  className: "w-full text-sm",
148
- children: [/* @__PURE__ */ h("thead", {
148
+ children: [/* @__PURE__ */ g("thead", {
149
149
  className: "bg-muted/50",
150
- children: /* @__PURE__ */ h("tr", { children: e.map((e) => /* @__PURE__ */ h("th", {
151
- className: n("px-4 py-3 text-left font-medium text-muted-foreground", e.className),
150
+ children: /* @__PURE__ */ g("tr", { children: e.map((e) => /* @__PURE__ */ g("th", {
151
+ className: r("px-4 py-3 text-left font-medium text-muted-foreground", e.className),
152
152
  children: e.header
153
153
  }, e.key)) })
154
- }), /* @__PURE__ */ h("tbody", {
154
+ }), /* @__PURE__ */ g("tbody", {
155
155
  className: "divide-y",
156
- children: t.map((t) => /* @__PURE__ */ h("tr", {
156
+ children: t.map((t) => /* @__PURE__ */ g("tr", {
157
157
  className: "hover:bg-muted/30",
158
- children: e.map((e) => /* @__PURE__ */ h("td", {
159
- className: n("px-4 py-3", e.className),
158
+ children: e.map((e) => /* @__PURE__ */ g("td", {
159
+ className: r("px-4 py-3", e.className),
160
160
  children: e.cell(t)
161
161
  }, `${t.id}-${e.key}`))
162
162
  }, t.id))
@@ -165,130 +165,130 @@ function L({ columns: e, data: t, emptyState: r }) {
165
165
  });
166
166
  }
167
167
  function R() {
168
- let { workspaceId: e } = t(), { t: n } = _(), d = n, [T, R] = i(/* @__PURE__ */ new Set()), [z, B] = i(!1), [V, H] = i(null), U = p(E, {
168
+ let { workspaceId: e } = t(), r = n(), [f, T] = a(/* @__PURE__ */ new Set()), [R, z] = a(!1), [B, V] = a(null), H = m(E, {
169
169
  variables: { workspaceId: e ?? "" },
170
170
  skip: !e
171
- }), W = p(D, {
171
+ }), U = m(D, {
172
172
  variables: { workspaceId: e ?? "" },
173
173
  skip: !e
174
- }), G = p(O, {
174
+ }), W = m(O, {
175
175
  variables: { workspaceId: e ?? "" },
176
176
  skip: !e
177
- }), [K] = f(k), q = U.data?.planmagnetProjects.items ?? [], J = W.data?.planmagnetBoards.items ?? [], Y = G.data?.planmagnetAutomationRules.items ?? [], X = r(() => q.filter((e) => e.status === "ACTIVE"), [q]), Z = (e) => {
178
- R((t) => {
177
+ }), [G] = p(k), K = H.data?.planmagnetProjects.items ?? [], q = U.data?.planmagnetBoards.items ?? [], J = W.data?.planmagnetAutomationRules.items ?? [], Y = i(() => K.filter((e) => e.status === "ACTIVE"), [K]), X = (e) => {
178
+ T((t) => {
179
179
  let n = new Set(t);
180
180
  return n.has(e) ? n.delete(e) : n.add(e), n;
181
181
  });
182
- }, Q = () => {
183
- let e = X.filter((e) => e.status !== "ARCHIVED");
184
- T.size === e.length ? R(/* @__PURE__ */ new Set()) : R(new Set(e.map((e) => e.id)));
185
- }, $ = async () => {
186
- if (T.size !== 0) {
187
- B(!0), H(null);
182
+ }, Z = () => {
183
+ let e = Y.filter((e) => e.status !== "ARCHIVED");
184
+ f.size === e.length ? T(/* @__PURE__ */ new Set()) : T(new Set(e.map((e) => e.id)));
185
+ }, Q = async () => {
186
+ if (f.size !== 0) {
187
+ z(!0), V(null);
188
188
  try {
189
- await Promise.all(Array.from(T).map((e) => K({ variables: { id: e } }))), await U.refetch(), R(/* @__PURE__ */ new Set());
189
+ await Promise.all(Array.from(f).map((e) => G({ variables: { id: e } }))), await H.refetch(), T(/* @__PURE__ */ new Set());
190
190
  } catch (e) {
191
- H(e instanceof Error ? e.message : d("planmagnet.admin.archive.unknownError", "Bulk archive failed"));
191
+ V(e instanceof Error ? e.message : r("planmagnet.admin.archive.unknownError", "Bulk archive failed"));
192
192
  } finally {
193
- B(!1);
193
+ z(!1);
194
194
  }
195
195
  }
196
196
  };
197
- if (!e) return /* @__PURE__ */ h("div", {
197
+ if (!e) return /* @__PURE__ */ g("div", {
198
198
  className: "min-h-screen bg-background",
199
- children: /* @__PURE__ */ g("div", {
199
+ children: /* @__PURE__ */ _("div", {
200
200
  className: "flex min-h-[320px] flex-col items-center justify-center gap-3 text-muted-foreground",
201
- children: [/* @__PURE__ */ h(a, { className: "h-8 w-8" }), /* @__PURE__ */ h("p", { children: d("planmagnet.admin.noWorkspace", "Select a workspace to manage PlanMagnet admin settings.") })]
201
+ children: [/* @__PURE__ */ g(o, { className: "h-8 w-8" }), /* @__PURE__ */ g("p", { children: r("planmagnet.admin.noWorkspace", "Select a workspace to manage PlanMagnet admin settings.") })]
202
202
  })
203
203
  });
204
- let ee = U.loading || W.loading || G.loading;
205
- return /* @__PURE__ */ h("div", {
204
+ let $ = H.loading || U.loading || W.loading;
205
+ return /* @__PURE__ */ g("div", {
206
206
  className: "min-h-screen bg-background",
207
- children: /* @__PURE__ */ g("div", {
207
+ children: /* @__PURE__ */ _("div", {
208
208
  className: "mx-auto max-w-7xl space-y-6 p-6",
209
209
  children: [
210
- /* @__PURE__ */ h("div", {
210
+ /* @__PURE__ */ g("div", {
211
211
  className: "flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between",
212
- children: /* @__PURE__ */ g("div", { children: [/* @__PURE__ */ h("h1", {
212
+ children: /* @__PURE__ */ _("div", { children: [/* @__PURE__ */ g("h1", {
213
213
  className: "text-2xl font-semibold tracking-tight",
214
- children: d("planmagnet.admin.title", "PlanMagnet Admin")
215
- }), /* @__PURE__ */ h("p", {
214
+ children: r("planmagnet.admin.title", "PlanMagnet Admin")
215
+ }), /* @__PURE__ */ g("p", {
216
216
  className: "text-sm text-muted-foreground",
217
- children: d("planmagnet.admin.purpose", "Workspace quota overview, bulk project archive, and automation rule audit.")
217
+ children: r("planmagnet.admin.purpose", "Workspace quota overview, bulk project archive, and automation rule audit.")
218
218
  })] })
219
219
  }),
220
- /* @__PURE__ */ g("div", {
220
+ /* @__PURE__ */ _("div", {
221
221
  className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3",
222
222
  children: [
223
- /* @__PURE__ */ h(F, {
224
- icon: s,
225
- label: d("planmagnet.admin.quota.projects", "Projects"),
226
- used: q.length,
223
+ /* @__PURE__ */ g(F, {
224
+ icon: c,
225
+ label: r("planmagnet.admin.quota.projects", "Projects"),
226
+ used: K.length,
227
227
  limit: 50
228
228
  }),
229
- /* @__PURE__ */ h(F, {
230
- icon: c,
231
- label: d("planmagnet.admin.quota.boards", "Boards"),
232
- used: J.length,
229
+ /* @__PURE__ */ g(F, {
230
+ icon: l,
231
+ label: r("planmagnet.admin.quota.boards", "Boards"),
232
+ used: q.length,
233
233
  limit: 100
234
234
  }),
235
- /* @__PURE__ */ h(F, {
236
- icon: u,
237
- label: d("planmagnet.admin.quota.automationRules", "Automation Rules"),
238
- used: Y.length,
235
+ /* @__PURE__ */ g(F, {
236
+ icon: d,
237
+ label: r("planmagnet.admin.quota.automationRules", "Automation Rules"),
238
+ used: J.length,
239
239
  limit: 25
240
240
  })
241
241
  ]
242
242
  }),
243
- ee ? /* @__PURE__ */ h(I, {}) : /* @__PURE__ */ g(m, { children: [/* @__PURE__ */ g(b, { children: [/* @__PURE__ */ g(S, {
243
+ $ ? /* @__PURE__ */ g(I, {}) : /* @__PURE__ */ _(h, { children: [/* @__PURE__ */ _(b, { children: [/* @__PURE__ */ _(S, {
244
244
  className: "flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between",
245
- children: [/* @__PURE__ */ g("div", { children: [/* @__PURE__ */ h(C, { children: d("planmagnet.admin.archive.title", "Bulk Project Archive") }), /* @__PURE__ */ h("p", {
245
+ children: [/* @__PURE__ */ _("div", { children: [/* @__PURE__ */ g(C, { children: r("planmagnet.admin.archive.title", "Bulk Project Archive") }), /* @__PURE__ */ g("p", {
246
246
  className: "text-sm text-muted-foreground",
247
- children: d("planmagnet.admin.archive.subtitle", "Select active projects and archive them in one action.")
248
- })] }), /* @__PURE__ */ g(y, {
247
+ children: r("planmagnet.admin.archive.subtitle", "Select active projects and archive them in one action.")
248
+ })] }), /* @__PURE__ */ _(y, {
249
249
  size: "sm",
250
250
  variant: "destructive",
251
- disabled: T.size === 0 || z,
252
- onClick: $,
251
+ disabled: f.size === 0 || R,
252
+ onClick: Q,
253
253
  children: [
254
- z ? /* @__PURE__ */ h(l, { className: "mr-2 h-4 w-4 animate-spin" }) : /* @__PURE__ */ h(o, { className: "mr-2 h-4 w-4" }),
255
- d("planmagnet.admin.archive.action", "Archive"),
254
+ R ? /* @__PURE__ */ g(u, { className: "mr-2 h-4 w-4 animate-spin" }) : /* @__PURE__ */ g(s, { className: "mr-2 h-4 w-4" }),
255
+ r("planmagnet.admin.archive.action", "Archive"),
256
256
  " (",
257
- T.size,
257
+ f.size,
258
258
  ")"
259
259
  ]
260
260
  })]
261
- }), /* @__PURE__ */ g(x, { children: [V && /* @__PURE__ */ g("div", {
261
+ }), /* @__PURE__ */ _(x, { children: [B && /* @__PURE__ */ _("div", {
262
262
  className: "mb-4 flex items-center gap-2 rounded-md bg-destructive/10 p-3 text-sm text-destructive",
263
- children: [/* @__PURE__ */ h(a, { className: "h-4 w-4" }), V]
264
- }), /* @__PURE__ */ h("div", {
263
+ children: [/* @__PURE__ */ g(o, { className: "h-4 w-4" }), B]
264
+ }), /* @__PURE__ */ g("div", {
265
265
  className: "rounded-md border",
266
- children: /* @__PURE__ */ h(L, {
267
- data: X,
266
+ children: /* @__PURE__ */ g(L, {
267
+ data: Y,
268
268
  columns: [
269
269
  {
270
270
  key: "select",
271
- header: /* @__PURE__ */ h(w, {
272
- checked: X.length > 0 && T.size === X.length,
273
- onCheckedChange: Q,
274
- "aria-label": d("planmagnet.admin.archive.selectAll", "Select all active projects")
271
+ header: /* @__PURE__ */ g(w, {
272
+ checked: Y.length > 0 && f.size === Y.length,
273
+ onCheckedChange: Z,
274
+ "aria-label": r("planmagnet.admin.archive.selectAll", "Select all active projects")
275
275
  }),
276
- cell: (e) => /* @__PURE__ */ h(w, {
277
- checked: T.has(e.id),
278
- onCheckedChange: () => Z(e.id),
279
- "aria-label": d("planmagnet.admin.archive.selectProject", "Select project")
276
+ cell: (e) => /* @__PURE__ */ g(w, {
277
+ checked: f.has(e.id),
278
+ onCheckedChange: () => X(e.id),
279
+ "aria-label": r("planmagnet.admin.archive.selectProject", "Select project")
280
280
  }),
281
281
  className: "w-12"
282
282
  },
283
283
  {
284
284
  key: "name",
285
- header: d("planmagnet.admin.archive.column.name", "Project"),
286
- cell: (e) => /* @__PURE__ */ g("div", {
285
+ header: r("planmagnet.admin.archive.column.name", "Project"),
286
+ cell: (e) => /* @__PURE__ */ _("div", {
287
287
  className: "flex flex-col",
288
- children: [/* @__PURE__ */ h("span", {
288
+ children: [/* @__PURE__ */ g("span", {
289
289
  className: "font-medium",
290
290
  children: e.name
291
- }), /* @__PURE__ */ h("span", {
291
+ }), /* @__PURE__ */ g("span", {
292
292
  className: "text-xs text-muted-foreground font-mono",
293
293
  children: e.key
294
294
  })]
@@ -296,97 +296,97 @@ function R() {
296
296
  },
297
297
  {
298
298
  key: "status",
299
- header: d("planmagnet.admin.archive.column.status", "Status"),
300
- cell: (e) => /* @__PURE__ */ h(v, {
299
+ header: r("planmagnet.admin.archive.column.status", "Status"),
300
+ cell: (e) => /* @__PURE__ */ g(v, {
301
301
  variant: A(e.status),
302
302
  children: e.status.toLowerCase().replace("_", " ")
303
303
  })
304
304
  },
305
305
  {
306
306
  key: "methodology",
307
- header: d("planmagnet.admin.archive.column.methodology", "Methodology"),
308
- cell: (e) => /* @__PURE__ */ h("span", {
307
+ header: r("planmagnet.admin.archive.column.methodology", "Methodology"),
308
+ cell: (e) => /* @__PURE__ */ g("span", {
309
309
  className: "text-sm capitalize",
310
310
  children: N(e.methodology)
311
311
  })
312
312
  },
313
313
  {
314
314
  key: "owner",
315
- header: d("planmagnet.admin.archive.column.owner", "Owner"),
316
- cell: (e) => /* @__PURE__ */ h("span", {
315
+ header: r("planmagnet.admin.archive.column.owner", "Owner"),
316
+ cell: (e) => /* @__PURE__ */ g("span", {
317
317
  className: "text-sm text-muted-foreground font-mono",
318
318
  children: e.ownerId
319
319
  })
320
320
  },
321
321
  {
322
322
  key: "created",
323
- header: d("planmagnet.admin.archive.column.created", "Created"),
324
- cell: (e) => /* @__PURE__ */ h("span", {
323
+ header: r("planmagnet.admin.archive.column.created", "Created"),
324
+ cell: (e) => /* @__PURE__ */ g("span", {
325
325
  className: "text-sm",
326
326
  children: M(e.createdAt)
327
327
  })
328
328
  }
329
329
  ],
330
- emptyState: d("planmagnet.admin.archive.empty", "No active projects to archive.")
330
+ emptyState: r("planmagnet.admin.archive.empty", "No active projects to archive.")
331
331
  })
332
- })] })] }), /* @__PURE__ */ g(b, { children: [/* @__PURE__ */ g(S, { children: [/* @__PURE__ */ h(C, { children: d("planmagnet.admin.automation.title", "Automation Rule Audit") }), /* @__PURE__ */ h("p", {
332
+ })] })] }), /* @__PURE__ */ _(b, { children: [/* @__PURE__ */ _(S, { children: [/* @__PURE__ */ g(C, { children: r("planmagnet.admin.automation.title", "Automation Rule Audit") }), /* @__PURE__ */ g("p", {
333
333
  className: "text-sm text-muted-foreground",
334
- children: d("planmagnet.admin.automation.subtitle", "Review rule health, execution counts, and last run timestamps.")
335
- })] }), /* @__PURE__ */ h(x, { children: /* @__PURE__ */ h("div", {
334
+ children: r("planmagnet.admin.automation.subtitle", "Review rule health, execution counts, and last run timestamps.")
335
+ })] }), /* @__PURE__ */ g(x, { children: /* @__PURE__ */ g("div", {
336
336
  className: "rounded-md border",
337
- children: /* @__PURE__ */ h(L, {
338
- data: Y,
337
+ children: /* @__PURE__ */ g(L, {
338
+ data: J,
339
339
  columns: [
340
340
  {
341
341
  key: "name",
342
- header: d("planmagnet.admin.automation.column.name", "Rule"),
343
- cell: (e) => /* @__PURE__ */ h("span", {
342
+ header: r("planmagnet.admin.automation.column.name", "Rule"),
343
+ cell: (e) => /* @__PURE__ */ g("span", {
344
344
  className: "font-medium",
345
345
  children: e.name
346
346
  })
347
347
  },
348
348
  {
349
349
  key: "trigger",
350
- header: d("planmagnet.admin.automation.column.trigger", "Trigger"),
351
- cell: (e) => /* @__PURE__ */ h("span", {
350
+ header: r("planmagnet.admin.automation.column.trigger", "Trigger"),
351
+ cell: (e) => /* @__PURE__ */ g("span", {
352
352
  className: "text-sm",
353
353
  children: P(e.triggerType)
354
354
  })
355
355
  },
356
356
  {
357
357
  key: "status",
358
- header: d("planmagnet.admin.automation.column.status", "Status"),
359
- cell: (e) => /* @__PURE__ */ h(v, {
358
+ header: r("planmagnet.admin.automation.column.status", "Status"),
359
+ cell: (e) => /* @__PURE__ */ g(v, {
360
360
  variant: j(e.status),
361
361
  children: e.status.toLowerCase()
362
362
  })
363
363
  },
364
364
  {
365
365
  key: "executions",
366
- header: d("planmagnet.admin.automation.column.executions", "Executions"),
367
- cell: (e) => /* @__PURE__ */ h("span", {
366
+ header: r("planmagnet.admin.automation.column.executions", "Executions"),
367
+ cell: (e) => /* @__PURE__ */ g("span", {
368
368
  className: "text-sm",
369
369
  children: e.executionCount
370
370
  })
371
371
  },
372
372
  {
373
373
  key: "lastRun",
374
- header: d("planmagnet.admin.automation.column.lastRun", "Last Run"),
375
- cell: (e) => /* @__PURE__ */ h("span", {
374
+ header: r("planmagnet.admin.automation.column.lastRun", "Last Run"),
375
+ cell: (e) => /* @__PURE__ */ g("span", {
376
376
  className: "text-sm",
377
377
  children: M(e.lastExecutedAt)
378
378
  })
379
379
  },
380
380
  {
381
381
  key: "created",
382
- header: d("planmagnet.admin.automation.column.created", "Created"),
383
- cell: (e) => /* @__PURE__ */ h("span", {
382
+ header: r("planmagnet.admin.automation.column.created", "Created"),
383
+ cell: (e) => /* @__PURE__ */ g("span", {
384
384
  className: "text-sm",
385
385
  children: M(e.createdAt)
386
386
  })
387
387
  }
388
388
  ],
389
- emptyState: d("planmagnet.admin.automation.empty", "No automation rules found.")
389
+ emptyState: r("planmagnet.admin.automation.empty", "No automation rules found.")
390
390
  })
391
391
  }) })] })] })
392
392
  ]
@@ -394,9 +394,9 @@ function R() {
394
394
  });
395
395
  }
396
396
  function z(t) {
397
- return /* @__PURE__ */ h(e, {
397
+ return /* @__PURE__ */ g(e, {
398
398
  ...t,
399
- children: /* @__PURE__ */ h(R, {})
399
+ children: /* @__PURE__ */ g(R, {})
400
400
  });
401
401
  }
402
402
  //#endregion