@burdenoff/microfe-product 2026.624.3 → 2026.625.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 (63) hide show
  1. package/dist/product/pages/ContentPageViewPage.js +25 -24
  2. package/dist/product/pages/ContentPageViewPage.js.map +1 -1
  3. package/dist/product/pages/ProductCatalogPage.js +69 -64
  4. package/dist/product/pages/ProductCatalogPage.js.map +1 -1
  5. package/dist/product/pages/ProductViewPage.js +91 -86
  6. package/dist/product/pages/ProductViewPage.js.map +1 -1
  7. package/dist/product-management/modules/content-pages/components/ContentPageForm.js +7 -7
  8. package/dist/product-management/modules/content-pages/components/ContentPageForm.js.map +1 -1
  9. package/dist/product-management/modules/content-pages/pages/ContentPageCreatePage.js +2 -2
  10. package/dist/product-management/modules/content-pages/pages/ContentPageCreatePage.js.map +1 -1
  11. package/dist/product-management/modules/content-pages/pages/ContentPageDetailPage.js +91 -89
  12. package/dist/product-management/modules/content-pages/pages/ContentPageDetailPage.js.map +1 -1
  13. package/dist/product-management/modules/content-pages/pages/ContentPageEditPage.js +2 -2
  14. package/dist/product-management/modules/content-pages/pages/ContentPageEditPage.js.map +1 -1
  15. package/dist/product-management/modules/content-pages/pages/ContentPagesListPage.js +164 -159
  16. package/dist/product-management/modules/content-pages/pages/ContentPagesListPage.js.map +1 -1
  17. package/dist/product-management/modules/feature-flags/components/FeatureFlagForm.js +1 -1
  18. package/dist/product-management/modules/feature-flags/components/FeatureFlagForm.js.map +1 -1
  19. package/dist/product-management/modules/feature-flags/pages/FeatureFlagCreatePage.js +2 -2
  20. package/dist/product-management/modules/feature-flags/pages/FeatureFlagCreatePage.js.map +1 -1
  21. package/dist/product-management/modules/feature-flags/pages/FeatureFlagDetailPage.js +82 -80
  22. package/dist/product-management/modules/feature-flags/pages/FeatureFlagDetailPage.js.map +1 -1
  23. package/dist/product-management/modules/feature-flags/pages/FeatureFlagEditPage.js +2 -2
  24. package/dist/product-management/modules/feature-flags/pages/FeatureFlagEditPage.js.map +1 -1
  25. package/dist/product-management/modules/feature-flags/pages/FeatureFlagsListPage.js +83 -79
  26. package/dist/product-management/modules/feature-flags/pages/FeatureFlagsListPage.js.map +1 -1
  27. package/dist/product-management/modules/press-kit/components/PressKitAssetForm.js +4 -4
  28. package/dist/product-management/modules/press-kit/components/PressKitAssetForm.js.map +1 -1
  29. package/dist/product-management/modules/press-kit/pages/PressKitCreatePage.js +2 -2
  30. package/dist/product-management/modules/press-kit/pages/PressKitCreatePage.js.map +1 -1
  31. package/dist/product-management/modules/press-kit/pages/PressKitDetailPage.js +71 -69
  32. package/dist/product-management/modules/press-kit/pages/PressKitDetailPage.js.map +1 -1
  33. package/dist/product-management/modules/press-kit/pages/PressKitEditPage.js +2 -2
  34. package/dist/product-management/modules/press-kit/pages/PressKitEditPage.js.map +1 -1
  35. package/dist/product-management/modules/press-kit/pages/PressKitListPage.js +80 -75
  36. package/dist/product-management/modules/press-kit/pages/PressKitListPage.js.map +1 -1
  37. package/dist/product-management/modules/products/components/ProductForm.js +8 -8
  38. package/dist/product-management/modules/products/components/ProductForm.js.map +1 -1
  39. package/dist/product-management/modules/products/components/ProductPlans.js +4 -4
  40. package/dist/product-management/modules/products/components/ProductPlans.js.map +1 -1
  41. package/dist/product-management/modules/products/pages/ProductCreatePage.js +2 -2
  42. package/dist/product-management/modules/products/pages/ProductCreatePage.js.map +1 -1
  43. package/dist/product-management/modules/products/pages/ProductDetailPage.js +142 -140
  44. package/dist/product-management/modules/products/pages/ProductDetailPage.js.map +1 -1
  45. package/dist/product-management/modules/products/pages/ProductEditPage.js +2 -2
  46. package/dist/product-management/modules/products/pages/ProductEditPage.js.map +1 -1
  47. package/dist/product-management/modules/products/pages/ProductsListPage.js +188 -179
  48. package/dist/product-management/modules/products/pages/ProductsListPage.js.map +1 -1
  49. package/dist/product-management/modules/shortcuts/components/ShortcutForm.js +3 -3
  50. package/dist/product-management/modules/shortcuts/components/ShortcutForm.js.map +1 -1
  51. package/dist/product-management/modules/shortcuts/pages/ShortcutCreatePage.js +2 -2
  52. package/dist/product-management/modules/shortcuts/pages/ShortcutCreatePage.js.map +1 -1
  53. package/dist/product-management/modules/shortcuts/pages/ShortcutDetailPage.js +167 -175
  54. package/dist/product-management/modules/shortcuts/pages/ShortcutDetailPage.js.map +1 -1
  55. package/dist/product-management/modules/shortcuts/pages/ShortcutEditPage.js +2 -2
  56. package/dist/product-management/modules/shortcuts/pages/ShortcutEditPage.js.map +1 -1
  57. package/dist/product-management/modules/shortcuts/pages/ShortcutsListPage.js +171 -168
  58. package/dist/product-management/modules/shortcuts/pages/ShortcutsListPage.js.map +1 -1
  59. package/dist/product-management/shared/components/AuditHistoryTab.js +1 -1
  60. package/dist/product-management/shared/components/AuditHistoryTab.js.map +1 -1
  61. package/dist/product-management/shared/components/feedback/EmptyState.js +2 -20
  62. package/package.json +2 -2
  63. package/dist/product-management/shared/components/feedback/EmptyState.js.map +0 -1
@@ -10,11 +10,12 @@ import { useContentPages as u, useDeleteContentPage as d } from "../hooks/useCon
10
10
  import { ContentPageStatusBadge as f } from "../components/ContentPageStatusBadge.js";
11
11
  import { useDebounced as p } from "../../../shared/hooks/useDebounced.js";
12
12
  import { useEffect as m, useState as h } from "react";
13
- import { ChevronLeft as g, ChevronRight as _, Download as v, Eye as y, FileText as b, Plus as x, RefreshCw as S, SquarePen as C, Trash2 as w } from "lucide-react";
14
- import { jsx as T, jsxs as E } from "react/jsx-runtime";
15
- import { PermissionGate as D } from "@burdenoff/fe-libs/shared/components";
13
+ import { ChevronLeft as ee, ChevronRight as g, Download as _, Eye as v, FileText as y, Plus as b, RefreshCw as x, SquarePen as S, Trash2 as C } from "lucide-react";
14
+ import { jsx as w, jsxs as T } from "react/jsx-runtime";
15
+ import { PermissionGate as E } from "@burdenoff/fe-libs/shared/components";
16
+ import { Button as D, CTAOverflowMenu as O, GlassCard as k, GradientText as A, IllustratedEmptyState as j } from "@burdenoff/fe-libs/ui";
16
17
  //#region src/product-management/modules/content-pages/pages/ContentPagesListPage.tsx
17
- var O = [
18
+ var M = [
18
19
  {
19
20
  label: "All",
20
21
  tag: ""
@@ -39,122 +40,124 @@ var O = [
39
40
  label: "Pages",
40
41
  tag: "page"
41
42
  }
42
- ], k = 20;
43
- function A() {
44
- let { navigate: A, basePath: j = "/products" } = t(), M = `${j}/content-pages`, [N, P] = h(""), F = p(N, 300), I = e(), [L, R] = h({}), [z, B] = h(0), { contentPages: V, total: H, hasMore: U, loading: W, error: G, refetch: K } = u(void 0, {
45
- ...L,
46
- search: F || void 0
43
+ ], N = 20;
44
+ function P() {
45
+ let { navigate: P, basePath: F = "/products" } = t(), I = `${F}/content-pages`, [L, R] = h(""), z = p(L, 300), B = e(), [V, H] = h({}), [U, W] = h(0), { contentPages: G, total: K, hasMore: q, loading: J, error: Y, refetch: X } = u(void 0, {
46
+ ...V,
47
+ search: z || void 0
47
48
  }, {
48
- limit: k,
49
- offset: z * k
50
- }), q = Math.max(1, Math.ceil(H / k)), J = z * k + 1, Y = Math.min((z + 1) * k, H);
49
+ limit: N,
50
+ offset: U * N
51
+ }), Z = Math.max(1, Math.ceil(K / N)), Q = U * N + 1, $ = Math.min((U + 1) * N, K);
51
52
  m(() => {
52
- if (H === 0) {
53
- B(0);
53
+ if (K === 0) {
54
+ W(0);
54
55
  return;
55
56
  }
56
- let e = Math.ceil(H / k) - 1;
57
- B((t) => t > e ? e : t);
58
- }, [H]);
59
- let { deleteContentPage: X, loading: Z } = d(), { confirm: Q, ConfirmDialog: $ } = l(), ee = async (e) => {
57
+ let e = Math.ceil(K / N) - 1;
58
+ W((t) => t > e ? e : t);
59
+ }, [K]);
60
+ let { deleteContentPage: te, loading: ne } = d(), { confirm: re, ConfirmDialog: ie } = l(), ae = async (e) => {
60
61
  s("medium");
61
- let t = I("contentPages.confirmDelete", "Are you sure you want to delete this content page?"), n = await o({
62
+ let t = B("contentPages.confirmDelete", "Are you sure you want to delete this content page?"), n = await o({
62
63
  title: "Delete content page",
63
64
  message: t,
64
65
  okButtonTitle: "Delete",
65
66
  cancelButtonTitle: "Cancel"
66
67
  });
67
- if (n === null ? await Q({
68
+ if (n === null ? await re({
68
69
  title: "Delete content page",
69
70
  message: t,
70
71
  okButtonTitle: "Delete",
71
72
  cancelButtonTitle: "Cancel",
72
73
  destructive: !0
73
74
  }) : n) try {
74
- await X(e), c("success"), K();
75
+ await te(e), c("success"), X();
75
76
  } catch (e) {
76
77
  c("error"), console.error("Failed to delete content page:", e);
77
78
  }
78
- }, te = (e) => e ? new Date(e).toLocaleDateString("en-US", {
79
+ }, oe = (e) => e ? new Date(e).toLocaleDateString("en-US", {
79
80
  year: "numeric",
80
81
  month: "short",
81
82
  day: "numeric"
82
83
  }) : "—";
83
- return /* @__PURE__ */ E("div", {
84
+ return /* @__PURE__ */ T("div", {
84
85
  className: "min-h-full bg-[var(--color-bg-canvas)] p-6 animate-in fade-in duration-200",
85
86
  children: [
86
- /* @__PURE__ */ E("div", {
87
+ /* @__PURE__ */ T("div", {
87
88
  className: "mb-6",
88
89
  children: [
89
- /* @__PURE__ */ E("div", {
90
- className: "flex items-center justify-between mb-4",
91
- children: [/* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("h1", {
92
- className: "text-3xl font-bold text-text-primary mb-2",
93
- children: I("contentPages.title", "Content Pages")
94
- }), /* @__PURE__ */ T("p", {
90
+ /* @__PURE__ */ T("div", {
91
+ className: "flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4 mb-4",
92
+ children: [/* @__PURE__ */ T("div", { children: [/* @__PURE__ */ w("h1", {
93
+ className: "text-2xl md:text-3xl font-semibold tracking-tight text-text-primary mb-2",
94
+ children: /* @__PURE__ */ w(A, { children: B("contentPages.title", "Content Pages") })
95
+ }), /* @__PURE__ */ w("p", {
95
96
  className: "text-text-secondary",
96
- children: I("contentPages.subtitle", "Manage content pages and documentation")
97
- })] }), /* @__PURE__ */ T(D, {
97
+ children: B("contentPages.subtitle", "Manage content pages and documentation")
98
+ })] }), /* @__PURE__ */ w(E, {
98
99
  role: "super_admin",
99
- children: /* @__PURE__ */ E("button", {
100
- type: "button",
101
- onClick: () => A(`${M}/new`),
102
- className: "\n inline-flex items-center gap-2 px-4 py-2\n bg-[var(--color-action-primary-bg)]\n text-[var(--color-action-primary-text)]\n rounded-lg\n hover:opacity-90\n transition-all duration-200\n font-medium\n ",
103
- children: [/* @__PURE__ */ T(x, { size: 20 }), I("contentPages.newPage", "New Page")]
100
+ children: /* @__PURE__ */ w(O, {
101
+ primary: {
102
+ label: B("contentPages.newPage", "New Page"),
103
+ onSelect: () => P(`${I}/new`),
104
+ icon: /* @__PURE__ */ w(b, { className: "size-4" })
105
+ },
106
+ actions: []
104
107
  })
105
108
  })]
106
109
  }),
107
- /* @__PURE__ */ T("div", {
108
- className: "flex flex-wrap gap-1 border-b border-default pb-px",
109
- children: O.map((e) => /* @__PURE__ */ T("button", {
110
+ /* @__PURE__ */ w("div", {
111
+ className: "flex flex-wrap gap-1 border-b border-border-seam pb-px",
112
+ children: M.map((e) => /* @__PURE__ */ w("button", {
110
113
  type: "button",
111
114
  onClick: () => {
112
- R({
113
- ...L,
115
+ H({
116
+ ...V,
114
117
  tag: e.tag || void 0
115
- }), B(0);
118
+ }), W(0);
116
119
  },
117
- className: `px-4 py-2 rounded-t-lg text-sm font-medium transition-all border-b-2 ${(L.tag ?? "") === e.tag ? "border-[var(--color-action-primary-bg)] text-text-primary" : "border-transparent text-text-secondary hover:text-text-primary"}`,
118
- children: I(`contentPages.tab.${e.label.toLowerCase()}`, e.label)
120
+ className: `px-4 py-2 rounded-t-lg text-sm font-medium transition-all border-b-2 ${(V.tag ?? "") === e.tag ? "border-[var(--color-action-primary-bg)] text-text-primary" : "border-transparent text-text-secondary hover:text-text-primary"}`,
121
+ children: B(`contentPages.tab.${e.label.toLowerCase()}`, e.label)
119
122
  }, e.label))
120
123
  }),
121
- /* @__PURE__ */ E("div", {
124
+ /* @__PURE__ */ T("div", {
122
125
  className: "flex gap-4",
123
126
  children: [
124
- /* @__PURE__ */ T(i, {
125
- value: N,
127
+ /* @__PURE__ */ w(i, {
128
+ value: L,
126
129
  onChange: (e) => {
127
- P(e), B(0);
130
+ R(e), W(0);
128
131
  },
129
- placeholder: I("contentPages.searchPlaceholder", "Search content pages..."),
132
+ placeholder: B("contentPages.searchPlaceholder", "Search content pages..."),
130
133
  className: "flex-1"
131
134
  }),
132
- /* @__PURE__ */ E("select", {
133
- value: L.isPublished === void 0 ? "" : L.isPublished ? "published" : "all",
135
+ /* @__PURE__ */ T("select", {
136
+ value: V.isPublished === void 0 ? "" : V.isPublished ? "published" : "all",
134
137
  onChange: (e) => {
135
- R({
136
- ...L,
138
+ H({
139
+ ...V,
137
140
  isPublished: e.target.value === "published" ? !0 : void 0
138
- }), B(0);
141
+ }), W(0);
139
142
  },
140
143
  className: "\n px-4 py-2\n bg-surface\n border border-default\n rounded-lg\n text-text-primary\n focus:outline-none focus:ring-2 focus:ring-[var(--color-border-focus)]\n transition-all duration-200\n ",
141
- children: [/* @__PURE__ */ T("option", {
144
+ children: [/* @__PURE__ */ w("option", {
142
145
  value: "",
143
- children: I("contentPages.filterAll", "All")
144
- }), /* @__PURE__ */ T("option", {
146
+ children: B("contentPages.filterAll", "All")
147
+ }), /* @__PURE__ */ w("option", {
145
148
  value: "published",
146
- children: I("contentPages.publishedOnly", "Published Only")
149
+ children: B("contentPages.publishedOnly", "Published Only")
147
150
  })]
148
151
  }),
149
- /* @__PURE__ */ T("button", {
152
+ /* @__PURE__ */ w("button", {
150
153
  type: "button",
151
- onClick: () => K(),
154
+ onClick: () => X(),
152
155
  className: "\n inline-flex items-center gap-2 px-4 py-2\n bg-surface\n text-text-primary\n border border-default\n rounded-lg\n hover:bg-bg-sunken\n transition-all duration-200\n ",
153
- children: /* @__PURE__ */ T(S, { size: 18 })
156
+ children: /* @__PURE__ */ w(x, { size: 18 })
154
157
  }),
155
- V.length > 0 && /* @__PURE__ */ T("button", {
158
+ G.length > 0 && /* @__PURE__ */ w("button", {
156
159
  type: "button",
157
- onClick: () => a("content-pages", V.map((e) => ({
160
+ onClick: () => a("content-pages", G.map((e) => ({
158
161
  id: e.id,
159
162
  slug: e.slug,
160
163
  title: e.title,
@@ -167,135 +170,137 @@ function A() {
167
170
  updatedAt: e.updatedAt
168
171
  }))),
169
172
  className: "\n inline-flex items-center gap-2 px-4 py-2\n bg-surface\n text-text-primary\n border border-default\n rounded-lg\n hover:bg-bg-sunken\n transition-all duration-200\n ",
170
- title: I("contentPages.exportCsv", "Export as CSV"),
171
- children: /* @__PURE__ */ T(v, { size: 18 })
173
+ title: B("contentPages.exportCsv", "Export as CSV"),
174
+ children: /* @__PURE__ */ w(_, { size: 18 })
172
175
  })
173
176
  ]
174
177
  })
175
178
  ]
176
179
  }),
177
- G ? /* @__PURE__ */ T(r, {
178
- message: G.message,
180
+ Y ? /* @__PURE__ */ w(r, {
181
+ message: Y.message,
179
182
  action: {
180
- label: I("productCommon.retry", "Retry"),
181
- onClick: () => K()
183
+ label: B("productCommon.retry", "Retry"),
184
+ onClick: () => X()
182
185
  }
183
- }) : W && V.length === 0 ? /* @__PURE__ */ T(n, { message: I("contentPages.loadingContentPages", "Loading content pages...") }) : V.length === 0 ? /* @__PURE__ */ E("div", {
184
- className: "bg-surface border border-default rounded-lg p-12 text-center animate-in fade-in duration-200",
185
- children: [/* @__PURE__ */ T("p", {
186
- className: "text-text-secondary mb-4",
187
- children: I("contentPages.noContentPagesFound", "No content pages found")
188
- }), /* @__PURE__ */ E("button", {
189
- type: "button",
190
- onClick: () => A(`${M}/new`),
191
- className: "\n inline-flex items-center gap-2 px-4 py-2\n bg-[var(--color-action-primary-bg)]\n text-[var(--color-action-primary-text)]\n rounded-lg\n hover:opacity-90\n transition-all duration-200\n font-medium\n ",
192
- children: [/* @__PURE__ */ T(x, { size: 20 }), I("contentPages.newPage", "New Page")]
193
- })]
194
- }) : /* @__PURE__ */ E("div", {
195
- className: "bg-surface border border-default rounded-lg shadow-[var(--shadow-elevation-1)] overflow-hidden",
196
- children: [/* @__PURE__ */ E("table", {
186
+ }) : J && G.length === 0 ? /* @__PURE__ */ w(n, { message: B("contentPages.loadingContentPages", "Loading content pages...") }) : G.length === 0 ? /* @__PURE__ */ w(k, {
187
+ treatment: "insight",
188
+ className: "animate-in fade-in duration-200",
189
+ children: /* @__PURE__ */ w(j, {
190
+ illustration: L || V.tag || V.isPublished ? "empty-search" : "empty-files",
191
+ title: B("contentPages.noContentPagesFound", "No content pages found"),
192
+ action: /* @__PURE__ */ T(D, {
193
+ type: "button",
194
+ onClick: () => P(`${I}/new`),
195
+ children: [/* @__PURE__ */ w(b, { className: "size-4" }), B("contentPages.newPage", "New Page")]
196
+ })
197
+ })
198
+ }) : /* @__PURE__ */ T(k, {
199
+ treatment: "insight",
200
+ className: "overflow-hidden p-0",
201
+ children: [/* @__PURE__ */ T("table", {
197
202
  className: "w-full",
198
- children: [/* @__PURE__ */ T("thead", {
199
- className: "bg-bg-sunken border-b border-default",
200
- children: /* @__PURE__ */ E("tr", { children: [
201
- /* @__PURE__ */ T("th", {
203
+ children: [/* @__PURE__ */ w("thead", {
204
+ className: "bg-bg-sunken/60 border-b border-border-seam",
205
+ children: /* @__PURE__ */ T("tr", { children: [
206
+ /* @__PURE__ */ w("th", {
202
207
  className: "text-left px-6 py-3 text-xs font-semibold text-text-secondary uppercase",
203
- children: I("contentPages.columnPage", "Page")
208
+ children: B("contentPages.columnPage", "Page")
204
209
  }),
205
- /* @__PURE__ */ T("th", {
210
+ /* @__PURE__ */ w("th", {
206
211
  className: "text-left px-6 py-3 text-xs font-semibold text-text-secondary uppercase",
207
- children: I("contentPages.columnSlug", "Slug")
212
+ children: B("contentPages.columnSlug", "Slug")
208
213
  }),
209
- /* @__PURE__ */ T("th", {
214
+ /* @__PURE__ */ w("th", {
210
215
  className: "text-left px-6 py-3 text-xs font-semibold text-text-secondary uppercase",
211
- children: I("contentPages.columnStatus", "Status")
216
+ children: B("contentPages.columnStatus", "Status")
212
217
  }),
213
- /* @__PURE__ */ T("th", {
218
+ /* @__PURE__ */ w("th", {
214
219
  className: "text-left px-6 py-3 text-xs font-semibold text-text-secondary uppercase",
215
- children: I("contentPages.columnVersion", "Version")
220
+ children: B("contentPages.columnVersion", "Version")
216
221
  }),
217
- /* @__PURE__ */ T("th", {
222
+ /* @__PURE__ */ w("th", {
218
223
  className: "text-left px-6 py-3 text-xs font-semibold text-text-secondary uppercase",
219
- children: I("contentPages.columnLastUpdated", "Last Updated")
224
+ children: B("contentPages.columnLastUpdated", "Last Updated")
220
225
  }),
221
- /* @__PURE__ */ T("th", {
226
+ /* @__PURE__ */ w("th", {
222
227
  className: "text-right px-6 py-3 text-xs font-semibold text-text-secondary uppercase",
223
- children: I("contentPages.columnActions", "Actions")
228
+ children: B("contentPages.columnActions", "Actions")
224
229
  })
225
230
  ] })
226
- }), /* @__PURE__ */ T("tbody", {
227
- className: "divide-y divide-[var(--color-border-default)]",
228
- children: V.map((e) => /* @__PURE__ */ E("tr", {
229
- className: "hover:bg-bg-sunken transition-all duration-200 cursor-pointer",
230
- onClick: () => A(`${M}/${e.id}`),
231
+ }), /* @__PURE__ */ w("tbody", {
232
+ className: "divide-y divide-border-seam",
233
+ children: G.map((e) => /* @__PURE__ */ T("tr", {
234
+ className: "hover:bg-bg-sunken/70 transition-colors duration-200 cursor-pointer",
235
+ onClick: () => P(`${I}/${e.id}`),
231
236
  children: [
232
- /* @__PURE__ */ T("td", {
237
+ /* @__PURE__ */ w("td", {
233
238
  className: "px-6 py-4",
234
- children: /* @__PURE__ */ E("div", {
239
+ children: /* @__PURE__ */ T("div", {
235
240
  className: "flex items-center gap-3",
236
- children: [/* @__PURE__ */ T("div", {
241
+ children: [/* @__PURE__ */ w("div", {
237
242
  className: "size-10 rounded-lg bg-[var(--color-status-info-subtle)] flex items-center justify-center",
238
- children: /* @__PURE__ */ T(b, {
243
+ children: /* @__PURE__ */ w(y, {
239
244
  size: 20,
240
245
  className: "text-[var(--color-status-info)]"
241
246
  })
242
- }), /* @__PURE__ */ T("div", { children: /* @__PURE__ */ T("p", {
247
+ }), /* @__PURE__ */ w("div", { children: /* @__PURE__ */ w("p", {
243
248
  className: "font-medium text-text-primary",
244
249
  children: e.title
245
250
  }) })]
246
251
  })
247
252
  }),
248
- /* @__PURE__ */ T("td", {
253
+ /* @__PURE__ */ w("td", {
249
254
  className: "px-6 py-4",
250
- children: /* @__PURE__ */ E("span", {
255
+ children: /* @__PURE__ */ T("span", {
251
256
  className: "text-sm text-text-tertiary font-mono",
252
257
  children: ["/", e.slug]
253
258
  })
254
259
  }),
255
- /* @__PURE__ */ T("td", {
260
+ /* @__PURE__ */ w("td", {
256
261
  className: "px-6 py-4",
257
- children: /* @__PURE__ */ T(f, { isPublished: e.isPublished })
262
+ children: /* @__PURE__ */ w(f, { isPublished: e.isPublished })
258
263
  }),
259
- /* @__PURE__ */ T("td", {
264
+ /* @__PURE__ */ w("td", {
260
265
  className: "px-6 py-4",
261
- children: /* @__PURE__ */ E("span", {
266
+ children: /* @__PURE__ */ T("span", {
262
267
  className: "text-sm text-text-primary font-mono",
263
268
  children: ["v", e.version]
264
269
  })
265
270
  }),
266
- /* @__PURE__ */ T("td", {
271
+ /* @__PURE__ */ w("td", {
267
272
  className: "px-6 py-4",
268
- children: /* @__PURE__ */ T("span", {
273
+ children: /* @__PURE__ */ w("span", {
269
274
  className: "text-sm text-text-secondary",
270
- children: te(e.lastUpdated || e.updatedAt)
275
+ children: oe(e.lastUpdated || e.updatedAt)
271
276
  })
272
277
  }),
273
- /* @__PURE__ */ T("td", {
278
+ /* @__PURE__ */ w("td", {
274
279
  className: "px-6 py-4",
275
- children: /* @__PURE__ */ E("div", {
280
+ children: /* @__PURE__ */ T("div", {
276
281
  className: "flex items-center justify-end gap-2",
277
282
  onClick: (e) => e.stopPropagation(),
278
- children: [/* @__PURE__ */ T("button", {
283
+ children: [/* @__PURE__ */ w("button", {
279
284
  type: "button",
280
- onClick: () => A(`${M}/${e.id}`),
285
+ onClick: () => P(`${I}/${e.id}`),
281
286
  className: "p-2 rounded-lg text-text-secondary hover:bg-bg-sunken transition-all duration-200",
282
- title: I("contentPages.viewDetails", "View details"),
283
- children: /* @__PURE__ */ T(y, { size: 18 })
284
- }), /* @__PURE__ */ E(D, {
287
+ title: B("contentPages.viewDetails", "View details"),
288
+ children: /* @__PURE__ */ w(v, { size: 18 })
289
+ }), /* @__PURE__ */ T(E, {
285
290
  role: "super_admin",
286
- children: [/* @__PURE__ */ T("button", {
291
+ children: [/* @__PURE__ */ w("button", {
287
292
  type: "button",
288
- onClick: () => A(`${M}/${e.id}/edit`),
293
+ onClick: () => P(`${I}/${e.id}/edit`),
289
294
  className: "p-2 rounded-lg text-text-secondary hover:bg-bg-sunken transition-all duration-200",
290
- title: I("contentPages.edit", "Edit"),
291
- children: /* @__PURE__ */ T(C, { size: 18 })
292
- }), /* @__PURE__ */ T("button", {
295
+ title: B("contentPages.edit", "Edit"),
296
+ children: /* @__PURE__ */ w(S, { size: 18 })
297
+ }), /* @__PURE__ */ w("button", {
293
298
  type: "button",
294
- onClick: () => ee(e.id),
295
- disabled: Z,
299
+ onClick: () => ae(e.id),
300
+ disabled: ne,
296
301
  className: "p-2 rounded-lg text-[var(--color-status-error)] hover:bg-[var(--color-status-error-subtle)] transition-all duration-200 disabled:opacity-50",
297
- title: I("contentPages.delete", "Delete"),
298
- children: /* @__PURE__ */ T(w, { size: 18 })
302
+ title: B("contentPages.delete", "Delete"),
303
+ children: /* @__PURE__ */ w(C, { size: 18 })
299
304
  })]
300
305
  })]
301
306
  })
@@ -303,59 +308,59 @@ function A() {
303
308
  ]
304
309
  }, e.id))
305
310
  })]
306
- }), H > k && /* @__PURE__ */ E("div", {
307
- className: "flex items-center justify-between px-6 py-3 border-t border-default bg-bg-sunken/50",
308
- children: [/* @__PURE__ */ E("p", {
311
+ }), K > N && /* @__PURE__ */ T("div", {
312
+ className: "flex items-center justify-between px-6 py-3 border-t border-border-seam bg-bg-sunken/40",
313
+ children: [/* @__PURE__ */ T("p", {
309
314
  className: "text-sm text-text-secondary",
310
315
  children: [
311
- I("contentPages.showing", "Showing"),
316
+ B("contentPages.showing", "Showing"),
312
317
  " ",
313
- J,
318
+ Q,
314
319
  "–",
315
- Y,
320
+ $,
316
321
  " ",
317
- I("contentPages.of", "of"),
322
+ B("contentPages.of", "of"),
318
323
  " ",
319
- H,
324
+ K,
320
325
  " ",
321
- I("contentPages.contentPages", "content pages")
326
+ B("contentPages.contentPages", "content pages")
322
327
  ]
323
- }), /* @__PURE__ */ E("div", {
328
+ }), /* @__PURE__ */ T("div", {
324
329
  className: "flex items-center gap-2",
325
330
  children: [
326
- /* @__PURE__ */ E("button", {
331
+ /* @__PURE__ */ T("button", {
327
332
  type: "button",
328
- onClick: () => B((e) => Math.max(0, e - 1)),
329
- disabled: z === 0 || W,
330
- "aria-label": I("contentPages.prevPage", "Previous page"),
333
+ onClick: () => W((e) => Math.max(0, e - 1)),
334
+ disabled: U === 0 || J,
335
+ "aria-label": B("contentPages.prevPage", "Previous page"),
331
336
  className: "\n inline-flex items-center gap-1 px-3 py-1.5 text-sm\n bg-surface border border-default rounded-lg\n text-text-primary\n hover:bg-bg-sunken transition-all duration-200\n disabled:opacity-40 disabled:cursor-not-allowed\n ",
332
- children: [/* @__PURE__ */ T(g, { size: 16 }), I("contentPages.prev", "Prev")]
337
+ children: [/* @__PURE__ */ w(ee, { size: 16 }), B("contentPages.prev", "Prev")]
333
338
  }),
334
- /* @__PURE__ */ E("span", {
339
+ /* @__PURE__ */ T("span", {
335
340
  className: "text-sm text-text-secondary px-2 tabular-nums",
336
341
  children: [
337
- z + 1,
342
+ U + 1,
338
343
  " / ",
339
- q
344
+ Z
340
345
  ]
341
346
  }),
342
- /* @__PURE__ */ E("button", {
347
+ /* @__PURE__ */ T("button", {
343
348
  type: "button",
344
- onClick: () => B((e) => e + 1),
345
- disabled: !U && z + 1 >= q || W,
346
- "aria-label": I("contentPages.nextPage", "Next page"),
349
+ onClick: () => W((e) => e + 1),
350
+ disabled: !q && U + 1 >= Z || J,
351
+ "aria-label": B("contentPages.nextPage", "Next page"),
347
352
  className: "\n inline-flex items-center gap-1 px-3 py-1.5 text-sm\n bg-surface border border-default rounded-lg\n text-text-primary\n hover:bg-bg-sunken transition-all duration-200\n disabled:opacity-40 disabled:cursor-not-allowed\n ",
348
- children: [I("contentPages.next", "Next"), /* @__PURE__ */ T(_, { size: 16 })]
353
+ children: [B("contentPages.next", "Next"), /* @__PURE__ */ w(g, { size: 16 })]
349
354
  })
350
355
  ]
351
356
  })]
352
357
  })]
353
358
  }),
354
- $
359
+ ie
355
360
  ]
356
361
  });
357
362
  }
358
363
  //#endregion
359
- export { A as ContentPagesListPage };
364
+ export { P as ContentPagesListPage };
360
365
 
361
366
  //# sourceMappingURL=ContentPagesListPage.js.map