@burdenoff/microfe-product 2026.625.1 → 2026.626.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 (51) hide show
  1. package/dist/product/pages/ContentPageViewPage.js +40 -36
  2. package/dist/product/pages/ContentPageViewPage.js.map +1 -1
  3. package/dist/product/pages/ProductCatalogPage.js +71 -63
  4. package/dist/product/pages/ProductCatalogPage.js.map +1 -1
  5. package/dist/product/pages/ProductViewPage.js +218 -181
  6. package/dist/product/pages/ProductViewPage.js.map +1 -1
  7. package/dist/product-management/modules/content-pages/pages/ContentPageCreatePage.js +27 -25
  8. package/dist/product-management/modules/content-pages/pages/ContentPageCreatePage.js.map +1 -1
  9. package/dist/product-management/modules/content-pages/pages/ContentPageDetailPage.js +99 -72
  10. package/dist/product-management/modules/content-pages/pages/ContentPageDetailPage.js.map +1 -1
  11. package/dist/product-management/modules/content-pages/pages/ContentPageEditPage.js +32 -30
  12. package/dist/product-management/modules/content-pages/pages/ContentPageEditPage.js.map +1 -1
  13. package/dist/product-management/modules/content-pages/pages/ContentPagesListPage.js +96 -91
  14. package/dist/product-management/modules/content-pages/pages/ContentPagesListPage.js.map +1 -1
  15. package/dist/product-management/modules/feature-flags/pages/FeatureFlagCreatePage.js +25 -23
  16. package/dist/product-management/modules/feature-flags/pages/FeatureFlagCreatePage.js.map +1 -1
  17. package/dist/product-management/modules/feature-flags/pages/FeatureFlagDetailPage.js +136 -111
  18. package/dist/product-management/modules/feature-flags/pages/FeatureFlagDetailPage.js.map +1 -1
  19. package/dist/product-management/modules/feature-flags/pages/FeatureFlagEditPage.js +35 -33
  20. package/dist/product-management/modules/feature-flags/pages/FeatureFlagEditPage.js.map +1 -1
  21. package/dist/product-management/modules/feature-flags/pages/FeatureFlagsListPage.js +130 -126
  22. package/dist/product-management/modules/feature-flags/pages/FeatureFlagsListPage.js.map +1 -1
  23. package/dist/product-management/modules/press-kit/pages/PressKitCreatePage.js +27 -25
  24. package/dist/product-management/modules/press-kit/pages/PressKitCreatePage.js.map +1 -1
  25. package/dist/product-management/modules/press-kit/pages/PressKitDetailPage.js +95 -70
  26. package/dist/product-management/modules/press-kit/pages/PressKitDetailPage.js.map +1 -1
  27. package/dist/product-management/modules/press-kit/pages/PressKitEditPage.js +32 -30
  28. package/dist/product-management/modules/press-kit/pages/PressKitEditPage.js.map +1 -1
  29. package/dist/product-management/modules/press-kit/pages/PressKitListPage.js +63 -58
  30. package/dist/product-management/modules/press-kit/pages/PressKitListPage.js.map +1 -1
  31. package/dist/product-management/modules/products/components/ProductPlans.js +132 -143
  32. package/dist/product-management/modules/products/components/ProductPlans.js.map +1 -1
  33. package/dist/product-management/modules/products/pages/ProductCreatePage.js +27 -25
  34. package/dist/product-management/modules/products/pages/ProductCreatePage.js.map +1 -1
  35. package/dist/product-management/modules/products/pages/ProductDetailPage.js +142 -114
  36. package/dist/product-management/modules/products/pages/ProductDetailPage.js.map +1 -1
  37. package/dist/product-management/modules/products/pages/ProductEditPage.js +31 -29
  38. package/dist/product-management/modules/products/pages/ProductEditPage.js.map +1 -1
  39. package/dist/product-management/modules/products/pages/ProductsListPage.js +218 -210
  40. package/dist/product-management/modules/products/pages/ProductsListPage.js.map +1 -1
  41. package/dist/product-management/modules/shortcuts/pages/ShortcutCreatePage.js +27 -22
  42. package/dist/product-management/modules/shortcuts/pages/ShortcutCreatePage.js.map +1 -1
  43. package/dist/product-management/modules/shortcuts/pages/ShortcutDetailPage.js +156 -129
  44. package/dist/product-management/modules/shortcuts/pages/ShortcutDetailPage.js.map +1 -1
  45. package/dist/product-management/modules/shortcuts/pages/ShortcutEditPage.js +30 -25
  46. package/dist/product-management/modules/shortcuts/pages/ShortcutEditPage.js.map +1 -1
  47. package/dist/product-management/modules/shortcuts/pages/ShortcutsListPage.js +140 -132
  48. package/dist/product-management/modules/shortcuts/pages/ShortcutsListPage.js.map +1 -1
  49. package/dist/product-management/shared/components/AuditHistoryTab.js +18 -16
  50. package/dist/product-management/shared/components/AuditHistoryTab.js.map +1 -1
  51. package/package.json +2 -2
@@ -12,53 +12,53 @@ import { ArrowLeft as p, Edit as m, ExternalLink as h, FileText as g, Link as _,
12
12
  import { useI18n as E } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
13
13
  import { jsx as D, jsxs as O } from "react/jsx-runtime";
14
14
  import { useParams as k } from "react-router-dom";
15
- import { CTAOverflowMenu as A, EmphasisPanel as j } from "@burdenoff/fe-libs/ui";
15
+ import { CTAOverflowMenu as A, EmphasisPanel as j, NextSteps as M, PagePurpose as N } from "@burdenoff/fe-libs/ui";
16
16
  //#region src/product-management/modules/products/pages/ProductDetailPage.tsx
17
- function M() {
18
- let { id: M } = k(), { navigate: N, basePath: P = "/products" } = e(), { t: F } = E(), I = (e, t) => {
19
- let n = F(e);
17
+ function P() {
18
+ let { id: P } = k(), { navigate: F, basePath: I = "/products" } = e(), { t: L } = E(), R = (e, t) => {
19
+ let n = L(e);
20
20
  return n === e ? t : n;
21
- }, { product: L, loading: R, error: z } = i(M), { deleteProduct: B, loading: V } = r(), { confirm: H, ConfirmDialog: U } = l(), W = async () => {
21
+ }, { product: z, loading: B, error: V } = i(P), { deleteProduct: H, loading: U } = r(), { confirm: W, ConfirmDialog: G } = l(), K = async () => {
22
22
  s("medium");
23
- let e = I("products.confirmDeleteProduct", "Are you sure you want to delete this product?"), t = await o({
23
+ let e = R("products.confirmDeleteProduct", "Are you sure you want to delete this product?"), t = await o({
24
24
  title: "Delete product",
25
25
  message: e,
26
26
  okButtonTitle: "Delete",
27
27
  cancelButtonTitle: "Cancel"
28
28
  });
29
- if (t === null ? await H({
29
+ if (t === null ? await W({
30
30
  title: "Delete product",
31
31
  message: e,
32
32
  okButtonTitle: "Delete",
33
33
  cancelButtonTitle: "Cancel",
34
34
  destructive: !0
35
35
  }) : t) try {
36
- await B(L.id), c("success"), N(P);
36
+ await H(z.id), c("success"), F(I);
37
37
  } catch (e) {
38
38
  c("error"), console.error("Failed to delete product:", e);
39
39
  }
40
40
  };
41
- if (R) return /* @__PURE__ */ D("div", {
41
+ if (B) return /* @__PURE__ */ D("div", {
42
42
  className: "min-h-full bg-[var(--color-bg-canvas)] p-6",
43
- children: /* @__PURE__ */ D(t, { message: I("products.loadingProductDetails", "Loading product details...") })
43
+ children: /* @__PURE__ */ D(t, { message: R("products.loadingProductDetails", "Loading product details...") })
44
44
  });
45
- if (z || !L) return /* @__PURE__ */ D("div", {
45
+ if (V || !z) return /* @__PURE__ */ D("div", {
46
46
  className: "min-h-full bg-[var(--color-bg-canvas)] p-6",
47
47
  children: /* @__PURE__ */ D(n, {
48
- message: z?.message || I("products.productNotFound", "Product not found"),
48
+ message: V?.message || R("products.productNotFound", "Product not found"),
49
49
  action: {
50
- label: I("products.backToProducts", "Back to Products"),
51
- onClick: () => N(P)
50
+ label: R("products.backToProducts", "Back to Products"),
51
+ onClick: () => F(I)
52
52
  }
53
53
  })
54
54
  });
55
- let G = (e) => new Date(e).toLocaleDateString("en-US", {
55
+ let q = (e) => new Date(e).toLocaleDateString("en-US", {
56
56
  year: "numeric",
57
57
  month: "long",
58
58
  day: "numeric",
59
59
  hour: "2-digit",
60
60
  minute: "2-digit"
61
- }), K = L.contactEmail || L.supportEmail || L.contactPhone || L.contactAddress, q = L.seoTitle || L.seoDescription || L.seoKeywords || L.ogImage, J = L.appStoreUrl || L.playStoreUrl, Y = L.socialLinks && Object.keys(L.socialLinks).length > 0, X = L.resourceLinks && Object.keys(L.resourceLinks).length > 0;
61
+ }), J = z.contactEmail || z.supportEmail || z.contactPhone || z.contactAddress, Y = z.seoTitle || z.seoDescription || z.seoKeywords || z.ogImage, X = z.appStoreUrl || z.playStoreUrl, Z = z.socialLinks && Object.keys(z.socialLinks).length > 0, Q = z.resourceLinks && Object.keys(z.resourceLinks).length > 0;
62
62
  return /* @__PURE__ */ O("div", {
63
63
  className: "min-h-full bg-[var(--color-bg-canvas)] p-6 animate-in fade-in duration-200",
64
64
  children: [
@@ -66,19 +66,19 @@ function M() {
66
66
  className: "mb-6",
67
67
  children: [/* @__PURE__ */ O("button", {
68
68
  type: "button",
69
- onClick: () => N(P),
69
+ onClick: () => F(I),
70
70
  className: "\n inline-flex items-center gap-2 mb-4\n text-text-secondary\n hover:text-text-primary\n transition-all duration-200\n ",
71
71
  children: [/* @__PURE__ */ D(p, { size: 20 }), /* @__PURE__ */ D("span", {
72
72
  className: "text-sm font-medium",
73
- children: I("products.backToProducts", "Back to Products")
73
+ children: R("products.backToProducts", "Back to Products")
74
74
  })]
75
75
  }), /* @__PURE__ */ O(j, {
76
76
  className: "relative overflow-hidden flex flex-col sm:flex-row sm:items-start sm:justify-between gap-4",
77
77
  children: [/* @__PURE__ */ O("div", {
78
78
  className: "flex items-center gap-4",
79
- children: [L.logoUrl ? /* @__PURE__ */ D("img", {
80
- src: L.logoUrl,
81
- alt: L.name,
79
+ children: [z.logoUrl ? /* @__PURE__ */ D("img", {
80
+ src: z.logoUrl,
81
+ alt: z.name,
82
82
  className: "size-16 rounded-card object-cover border border-border-seam"
83
83
  }) : /* @__PURE__ */ D("div", {
84
84
  className: "size-16 rounded-card bg-[var(--color-status-warning-subtle)] flex items-center justify-center",
@@ -90,30 +90,58 @@ function M() {
90
90
  className: "flex items-center gap-3 mb-2",
91
91
  children: [/* @__PURE__ */ D("h1", {
92
92
  className: "text-2xl md:text-3xl font-semibold tracking-tight text-text-primary",
93
- children: L.name
94
- }), /* @__PURE__ */ D(a, { status: L.status })]
93
+ children: z.name
94
+ }), /* @__PURE__ */ D(a, { status: z.status })]
95
95
  }), /* @__PURE__ */ O("p", {
96
96
  className: "text-text-secondary font-mono",
97
- children: ["/", L.slug]
97
+ children: ["/", z.slug]
98
98
  })] })]
99
99
  }), /* @__PURE__ */ D(A, {
100
100
  primary: {
101
- label: I("products.editProduct", "Edit Product"),
102
- onSelect: () => N(`${P}/${L.id}/edit`),
101
+ label: R("products.editProduct", "Edit Product"),
102
+ onSelect: () => F(`${I}/${z.id}/edit`),
103
103
  icon: /* @__PURE__ */ D(m, { className: "size-4" })
104
104
  },
105
105
  actions: [{
106
- label: I("products.delete", "Delete"),
106
+ label: R("products.delete", "Delete"),
107
107
  onSelect: () => {
108
- W();
108
+ K();
109
109
  },
110
110
  intent: "destructive",
111
- disabled: V,
111
+ disabled: U,
112
112
  icon: /* @__PURE__ */ D(T, { className: "size-4" })
113
113
  }]
114
114
  })]
115
115
  })]
116
116
  }),
117
+ /* @__PURE__ */ D(N, {
118
+ className: "mb-6",
119
+ children: R("products.detailPurpose", `This is the control center for ${z.name} — review and edit everything users see (details, contact info, SEO, store links), manage its content pages, and check the activity history of who changed what.`)
120
+ }),
121
+ /* @__PURE__ */ D(M, {
122
+ storageKey: "product-product-detail",
123
+ className: "mb-6",
124
+ steps: [
125
+ {
126
+ id: "edit-product",
127
+ label: R("products.steps.edit", "Edit product details"),
128
+ description: R("products.steps.editDesc", "Update the name, description, status, links and metadata."),
129
+ onClick: () => F(`${I}/${z.id}/edit`)
130
+ },
131
+ {
132
+ id: "content-pages",
133
+ label: R("products.steps.content", "Manage content pages"),
134
+ description: R("products.steps.contentDesc", "Add guides, policies, or announcements shown for this product."),
135
+ onClick: () => F(`${I}/content-pages`)
136
+ },
137
+ {
138
+ id: "review-status",
139
+ label: R("products.steps.status", "Confirm the launch status"),
140
+ description: R("products.steps.statusDesc", "Make sure draft / waitlist / coming-soon / active reflects reality before users see it."),
141
+ onClick: () => F(`${I}/${z.id}/edit`)
142
+ }
143
+ ]
144
+ }),
117
145
  /* @__PURE__ */ O("div", {
118
146
  className: "grid grid-cols-1 lg:grid-cols-2 gap-6",
119
147
  children: [
@@ -121,163 +149,163 @@ function M() {
121
149
  className: "bg-bg-surface bg-accent-wash border border-border-seam rounded-card p-6 shadow-elevation-1 transition-[box-shadow,border-color] duration-200 hover:border-border-strong hover:shadow-[var(--shadow-pop)]",
122
150
  children: [/* @__PURE__ */ D("h2", {
123
151
  className: "text-lg font-semibold text-text-primary mb-4",
124
- children: I("products.basicInformation", "Basic Information")
152
+ children: R("products.basicInformation", "Basic Information")
125
153
  }), /* @__PURE__ */ O("dl", {
126
154
  className: "space-y-3",
127
155
  children: [
128
156
  /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("dt", {
129
157
  className: "text-sm font-medium text-text-secondary",
130
- children: I("products.name", "Name")
158
+ children: R("products.name", "Name")
131
159
  }), /* @__PURE__ */ D("dd", {
132
160
  className: "text-sm text-text-primary mt-1",
133
- children: L.name
161
+ children: z.name
134
162
  })] }),
135
163
  /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("dt", {
136
164
  className: "text-sm font-medium text-text-secondary",
137
- children: I("products.slug", "Slug")
165
+ children: R("products.slug", "Slug")
138
166
  }), /* @__PURE__ */ D("dd", {
139
167
  className: "text-sm text-text-primary mt-1 font-mono",
140
- children: L.slug
168
+ children: z.slug
141
169
  })] }),
142
- L.tags && L.tags.length > 0 && /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("dt", {
170
+ z.tags && z.tags.length > 0 && /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("dt", {
143
171
  className: "text-sm font-medium text-text-secondary mb-1",
144
- children: I("products.tags", "Tags")
145
- }), /* @__PURE__ */ D("dd", { children: /* @__PURE__ */ D(u, { tags: L.tags }) })] })
172
+ children: R("products.tags", "Tags")
173
+ }), /* @__PURE__ */ D("dd", { children: /* @__PURE__ */ D(u, { tags: z.tags }) })] })
146
174
  ]
147
175
  })]
148
176
  }),
149
- L.description && /* @__PURE__ */ O("div", {
177
+ z.description && /* @__PURE__ */ O("div", {
150
178
  className: "bg-bg-surface bg-accent-wash border border-border-seam rounded-card p-6 shadow-elevation-1 transition-[box-shadow,border-color] duration-200 hover:border-border-strong hover:shadow-[var(--shadow-pop)]",
151
179
  children: [/* @__PURE__ */ D("h2", {
152
180
  className: "text-lg font-semibold text-text-primary mb-4",
153
- children: I("products.description", "Description")
181
+ children: R("products.description", "Description")
154
182
  }), /* @__PURE__ */ D("p", {
155
183
  className: "text-sm text-text-secondary leading-relaxed",
156
- children: L.description
184
+ children: z.description
157
185
  })]
158
186
  }),
159
187
  /* @__PURE__ */ O("div", {
160
188
  className: "bg-bg-surface bg-accent-wash border border-border-seam rounded-card p-6 shadow-elevation-1 transition-[box-shadow,border-color] duration-200 hover:border-border-strong hover:shadow-[var(--shadow-pop)]",
161
189
  children: [/* @__PURE__ */ D("h2", {
162
190
  className: "text-lg font-semibold text-text-primary mb-4",
163
- children: I("products.timestamps", "Timestamps")
191
+ children: R("products.timestamps", "Timestamps")
164
192
  }), /* @__PURE__ */ O("dl", {
165
193
  className: "space-y-3",
166
194
  children: [/* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("dt", {
167
195
  className: "text-sm font-medium text-text-secondary",
168
- children: I("products.created", "Created")
196
+ children: R("products.created", "Created")
169
197
  }), /* @__PURE__ */ D("dd", {
170
198
  className: "text-sm text-text-primary mt-1",
171
- children: G(L.createdAt)
199
+ children: q(z.createdAt)
172
200
  })] }), /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("dt", {
173
201
  className: "text-sm font-medium text-text-secondary",
174
- children: I("products.lastUpdated", "Last Updated")
202
+ children: R("products.lastUpdated", "Last Updated")
175
203
  }), /* @__PURE__ */ D("dd", {
176
204
  className: "text-sm text-text-primary mt-1",
177
- children: G(L.updatedAt)
205
+ children: q(z.updatedAt)
178
206
  })] })]
179
207
  })]
180
208
  }),
181
- K && /* @__PURE__ */ O("div", {
209
+ J && /* @__PURE__ */ O("div", {
182
210
  className: "bg-bg-surface bg-accent-wash border border-border-seam rounded-card p-6 shadow-elevation-1 transition-[box-shadow,border-color] duration-200 hover:border-border-strong hover:shadow-[var(--shadow-pop)]",
183
211
  children: [/* @__PURE__ */ D("h2", {
184
212
  className: "text-lg font-semibold text-text-primary mb-4",
185
- children: I("products.contactInformation", "Contact Information")
213
+ children: R("products.contactInformation", "Contact Information")
186
214
  }), /* @__PURE__ */ O("dl", {
187
215
  className: "space-y-3",
188
216
  children: [
189
- L.contactEmail && /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ O("dt", {
217
+ z.contactEmail && /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ O("dt", {
190
218
  className: "text-sm font-medium text-text-secondary flex items-center gap-1.5",
191
- children: [/* @__PURE__ */ D(v, { size: 14 }), I("products.contactEmail", "Contact Email")]
219
+ children: [/* @__PURE__ */ D(v, { size: 14 }), R("products.contactEmail", "Contact Email")]
192
220
  }), /* @__PURE__ */ D("dd", {
193
221
  className: "text-sm mt-1",
194
222
  children: /* @__PURE__ */ D("a", {
195
- href: `mailto:${L.contactEmail}`,
223
+ href: `mailto:${z.contactEmail}`,
196
224
  className: "text-[var(--color-text-link)] hover:underline",
197
- children: L.contactEmail
225
+ children: z.contactEmail
198
226
  })
199
227
  })] }),
200
- L.supportEmail && /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ O("dt", {
228
+ z.supportEmail && /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ O("dt", {
201
229
  className: "text-sm font-medium text-text-secondary flex items-center gap-1.5",
202
- children: [/* @__PURE__ */ D(v, { size: 14 }), I("products.supportEmail", "Support Email")]
230
+ children: [/* @__PURE__ */ D(v, { size: 14 }), R("products.supportEmail", "Support Email")]
203
231
  }), /* @__PURE__ */ D("dd", {
204
232
  className: "text-sm mt-1",
205
233
  children: /* @__PURE__ */ D("a", {
206
- href: `mailto:${L.supportEmail}`,
234
+ href: `mailto:${z.supportEmail}`,
207
235
  className: "text-[var(--color-text-link)] hover:underline",
208
- children: L.supportEmail
236
+ children: z.supportEmail
209
237
  })
210
238
  })] }),
211
- L.contactPhone && /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ O("dt", {
239
+ z.contactPhone && /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ O("dt", {
212
240
  className: "text-sm font-medium text-text-secondary flex items-center gap-1.5",
213
- children: [/* @__PURE__ */ D(x, { size: 14 }), I("products.phone", "Phone")]
241
+ children: [/* @__PURE__ */ D(x, { size: 14 }), R("products.phone", "Phone")]
214
242
  }), /* @__PURE__ */ D("dd", {
215
243
  className: "text-sm mt-1",
216
244
  children: /* @__PURE__ */ D("a", {
217
- href: `tel:${L.contactPhone}`,
245
+ href: `tel:${z.contactPhone}`,
218
246
  className: "text-[var(--color-text-link)] hover:underline",
219
- children: L.contactPhone
247
+ children: z.contactPhone
220
248
  })
221
249
  })] }),
222
- L.contactAddress && /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ O("dt", {
250
+ z.contactAddress && /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ O("dt", {
223
251
  className: "text-sm font-medium text-text-secondary flex items-center gap-1.5",
224
- children: [/* @__PURE__ */ D(y, { size: 14 }), I("products.address", "Address")]
252
+ children: [/* @__PURE__ */ D(y, { size: 14 }), R("products.address", "Address")]
225
253
  }), /* @__PURE__ */ D("dd", {
226
254
  className: "text-sm text-text-primary mt-1",
227
- children: L.contactAddress
255
+ children: z.contactAddress
228
256
  })] })
229
257
  ]
230
258
  })]
231
259
  }),
232
- q && /* @__PURE__ */ O("div", {
260
+ Y && /* @__PURE__ */ O("div", {
233
261
  className: "bg-bg-surface bg-accent-wash border border-border-seam rounded-card p-6 shadow-elevation-1 transition-[box-shadow,border-color] duration-200 hover:border-border-strong hover:shadow-[var(--shadow-pop)]",
234
262
  children: [/* @__PURE__ */ O("h2", {
235
263
  className: "text-lg font-semibold text-text-primary mb-4 flex items-center gap-2",
236
- children: [/* @__PURE__ */ D(S, { size: 18 }), I("products.seoMetadata", "SEO Metadata")]
264
+ children: [/* @__PURE__ */ D(S, { size: 18 }), R("products.seoMetadata", "SEO Metadata")]
237
265
  }), /* @__PURE__ */ O("dl", {
238
266
  className: "space-y-3",
239
267
  children: [
240
- L.seoTitle && /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("dt", {
268
+ z.seoTitle && /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("dt", {
241
269
  className: "text-sm font-medium text-text-secondary",
242
- children: I("products.seoTitle", "SEO Title")
270
+ children: R("products.seoTitle", "SEO Title")
243
271
  }), /* @__PURE__ */ D("dd", {
244
272
  className: "text-sm text-text-primary mt-1",
245
- children: L.seoTitle
273
+ children: z.seoTitle
246
274
  })] }),
247
- L.seoDescription && /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("dt", {
275
+ z.seoDescription && /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("dt", {
248
276
  className: "text-sm font-medium text-text-secondary",
249
- children: I("products.seoDescription", "SEO Description")
277
+ children: R("products.seoDescription", "SEO Description")
250
278
  }), /* @__PURE__ */ D("dd", {
251
279
  className: "text-sm text-text-primary mt-1 leading-relaxed",
252
- children: L.seoDescription
280
+ children: z.seoDescription
253
281
  })] }),
254
- L.seoKeywords && /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("dt", {
282
+ z.seoKeywords && /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("dt", {
255
283
  className: "text-sm font-medium text-text-secondary",
256
- children: I("products.keywords", "Keywords")
284
+ children: R("products.keywords", "Keywords")
257
285
  }), /* @__PURE__ */ D("dd", {
258
286
  className: "text-sm text-text-primary mt-1",
259
287
  children: /* @__PURE__ */ D("div", {
260
288
  className: "flex flex-wrap gap-1.5 mt-1",
261
- children: (typeof L.seoKeywords == "string" ? L.seoKeywords.split(",").map((e) => e.trim()) : L.seoKeywords).map((e) => /* @__PURE__ */ D("span", {
289
+ children: (typeof z.seoKeywords == "string" ? z.seoKeywords.split(",").map((e) => e.trim()) : z.seoKeywords).map((e) => /* @__PURE__ */ D("span", {
262
290
  className: "inline-flex px-2 py-0.5 text-xs font-medium rounded-full bg-bg-sunken text-text-secondary border border-default",
263
291
  children: e
264
292
  }, e))
265
293
  })
266
294
  })] }),
267
- L.ogImage && /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("dt", {
295
+ z.ogImage && /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("dt", {
268
296
  className: "text-sm font-medium text-text-secondary",
269
- children: I("products.ogImage", "OG Image")
297
+ children: R("products.ogImage", "OG Image")
270
298
  }), /* @__PURE__ */ O("dd", {
271
299
  className: "text-sm mt-1",
272
300
  children: [/* @__PURE__ */ D("a", {
273
- href: L.ogImage,
301
+ href: z.ogImage,
274
302
  target: "_blank",
275
303
  rel: "noopener noreferrer",
276
304
  className: "text-[var(--color-text-link)] hover:underline break-all",
277
- children: L.ogImage
305
+ children: z.ogImage
278
306
  }), /* @__PURE__ */ D("img", {
279
- src: L.ogImage,
280
- alt: I("products.ogImagePreview", "OG Image preview"),
307
+ src: z.ogImage,
308
+ alt: R("products.ogImagePreview", "OG Image preview"),
281
309
  className: "mt-2 max-w-[200px] max-h-[120px] rounded border border-default object-cover",
282
310
  onError: (e) => {
283
311
  e.target.style.display = "none";
@@ -287,48 +315,48 @@ function M() {
287
315
  ]
288
316
  })]
289
317
  }),
290
- J && /* @__PURE__ */ O("div", {
318
+ X && /* @__PURE__ */ O("div", {
291
319
  className: "bg-bg-surface bg-accent-wash border border-border-seam rounded-card p-6 shadow-elevation-1 transition-[box-shadow,border-color] duration-200 hover:border-border-strong hover:shadow-[var(--shadow-pop)]",
292
320
  children: [/* @__PURE__ */ O("h2", {
293
321
  className: "text-lg font-semibold text-text-primary mb-4 flex items-center gap-2",
294
- children: [/* @__PURE__ */ D(h, { size: 18 }), I("products.appStoreLinks", "App Store Links")]
322
+ children: [/* @__PURE__ */ D(h, { size: 18 }), R("products.appStoreLinks", "App Store Links")]
295
323
  }), /* @__PURE__ */ O("dl", {
296
324
  className: "space-y-3",
297
- children: [L.appStoreUrl && /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("dt", {
325
+ children: [z.appStoreUrl && /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("dt", {
298
326
  className: "text-sm font-medium text-text-secondary",
299
- children: I("products.appleAppStore", "Apple App Store")
327
+ children: R("products.appleAppStore", "Apple App Store")
300
328
  }), /* @__PURE__ */ D("dd", {
301
329
  className: "text-sm mt-1",
302
330
  children: /* @__PURE__ */ O("a", {
303
- href: L.appStoreUrl,
331
+ href: z.appStoreUrl,
304
332
  target: "_blank",
305
333
  rel: "noopener noreferrer",
306
334
  className: "inline-flex items-center gap-1.5 text-[var(--color-text-link)] hover:underline",
307
- children: [L.appStoreUrl, /* @__PURE__ */ D(h, { size: 12 })]
335
+ children: [z.appStoreUrl, /* @__PURE__ */ D(h, { size: 12 })]
308
336
  })
309
- })] }), L.playStoreUrl && /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("dt", {
337
+ })] }), z.playStoreUrl && /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("dt", {
310
338
  className: "text-sm font-medium text-text-secondary",
311
- children: I("products.googlePlayStore", "Google Play Store")
339
+ children: R("products.googlePlayStore", "Google Play Store")
312
340
  }), /* @__PURE__ */ D("dd", {
313
341
  className: "text-sm mt-1",
314
342
  children: /* @__PURE__ */ O("a", {
315
- href: L.playStoreUrl,
343
+ href: z.playStoreUrl,
316
344
  target: "_blank",
317
345
  rel: "noopener noreferrer",
318
346
  className: "inline-flex items-center gap-1.5 text-[var(--color-text-link)] hover:underline",
319
- children: [L.playStoreUrl, /* @__PURE__ */ D(h, { size: 12 })]
347
+ children: [z.playStoreUrl, /* @__PURE__ */ D(h, { size: 12 })]
320
348
  })
321
349
  })] })]
322
350
  })]
323
351
  }),
324
- Y && /* @__PURE__ */ O("div", {
352
+ Z && /* @__PURE__ */ O("div", {
325
353
  className: "bg-bg-surface bg-accent-wash border border-border-seam rounded-card p-6 shadow-elevation-1 transition-[box-shadow,border-color] duration-200 hover:border-border-strong hover:shadow-[var(--shadow-pop)]",
326
354
  children: [/* @__PURE__ */ O("h2", {
327
355
  className: "text-lg font-semibold text-text-primary mb-4 flex items-center gap-2",
328
- children: [/* @__PURE__ */ D(C, { size: 18 }), I("products.socialMediaLinks", "Social Media Links")]
356
+ children: [/* @__PURE__ */ D(C, { size: 18 }), R("products.socialMediaLinks", "Social Media Links")]
329
357
  }), /* @__PURE__ */ D("dl", {
330
358
  className: "space-y-3",
331
- children: Object.entries(L.socialLinks).map(([e, t]) => /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("dt", {
359
+ children: Object.entries(z.socialLinks).map(([e, t]) => /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("dt", {
332
360
  className: "text-sm font-medium text-text-secondary capitalize",
333
361
  children: e
334
362
  }), /* @__PURE__ */ D("dd", {
@@ -343,14 +371,14 @@ function M() {
343
371
  })] }, e))
344
372
  })]
345
373
  }),
346
- X && /* @__PURE__ */ O("div", {
374
+ Q && /* @__PURE__ */ O("div", {
347
375
  className: "bg-bg-surface bg-accent-wash border border-border-seam rounded-card p-6 shadow-elevation-1 transition-[box-shadow,border-color] duration-200 hover:border-border-strong hover:shadow-[var(--shadow-pop)]",
348
376
  children: [/* @__PURE__ */ O("h2", {
349
377
  className: "text-lg font-semibold text-text-primary mb-4 flex items-center gap-2",
350
- children: [/* @__PURE__ */ D(_, { size: 18 }), I("products.resourceLinks", "Resource Links")]
378
+ children: [/* @__PURE__ */ D(_, { size: 18 }), R("products.resourceLinks", "Resource Links")]
351
379
  }), /* @__PURE__ */ D("dl", {
352
380
  className: "space-y-3",
353
- children: Object.entries(L.resourceLinks).map(([e, t]) => /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("dt", {
381
+ children: Object.entries(z.resourceLinks).map(([e, t]) => /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("dt", {
354
382
  className: "text-sm font-medium text-text-secondary capitalize",
355
383
  children: e
356
384
  }), /* @__PURE__ */ D("dd", {
@@ -370,17 +398,17 @@ function M() {
370
398
  children: [
371
399
  /* @__PURE__ */ O("h2", {
372
400
  className: "text-lg font-semibold text-text-primary mb-4 flex items-center gap-2",
373
- children: [/* @__PURE__ */ D(g, { size: 18 }), I("products.contentPages", "Content Pages")]
401
+ children: [/* @__PURE__ */ D(g, { size: 18 }), R("products.contentPages", "Content Pages")]
374
402
  }),
375
403
  /* @__PURE__ */ D("p", {
376
404
  className: "text-sm text-text-secondary mb-4",
377
- children: I("products.manageContentPages", "Manage content pages associated with this product.")
405
+ children: R("products.manageContentPages", "Manage content pages associated with this product.")
378
406
  }),
379
407
  /* @__PURE__ */ O("button", {
380
408
  type: "button",
381
- onClick: () => N(`${P}/content-pages`),
409
+ onClick: () => F(`${I}/content-pages`),
382
410
  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 font-medium\n text-sm\n ",
383
- children: [/* @__PURE__ */ D(g, { size: 16 }), I("products.viewContentPages", "View Content Pages")]
411
+ children: [/* @__PURE__ */ D(g, { size: 16 }), R("products.viewContentPages", "View Content Pages")]
384
412
  })
385
413
  ]
386
414
  }),
@@ -393,54 +421,54 @@ function M() {
393
421
  className: "text-text-secondary"
394
422
  }), /* @__PURE__ */ D("h2", {
395
423
  className: "text-lg font-semibold text-text-primary",
396
- children: I("products.integrations", "Integrations")
424
+ children: R("products.integrations", "Integrations")
397
425
  })]
398
426
  }), /* @__PURE__ */ O("div", {
399
427
  className: "space-y-3",
400
428
  children: [/* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("dt", {
401
429
  className: "text-sm font-medium text-text-secondary",
402
- children: I("products.recaptchaSiteKey", "reCAPTCHA Site Key")
430
+ children: R("products.recaptchaSiteKey", "reCAPTCHA Site Key")
403
431
  }), /* @__PURE__ */ D("dd", {
404
432
  className: "text-sm text-text-primary mt-0.5 font-mono",
405
- children: L.recaptchaSiteKey || /* @__PURE__ */ D("span", {
433
+ children: z.recaptchaSiteKey || /* @__PURE__ */ D("span", {
406
434
  className: "text-text-secondary italic",
407
- children: I("products.notConfigured", "Not configured")
435
+ children: R("products.notConfigured", "Not configured")
408
436
  })
409
437
  })] }), /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("dt", {
410
438
  className: "text-sm font-medium text-text-secondary",
411
- children: I("products.recaptchaSecretKey", "reCAPTCHA Secret Key")
439
+ children: R("products.recaptchaSecretKey", "reCAPTCHA Secret Key")
412
440
  }), /* @__PURE__ */ D("dd", {
413
441
  className: "text-sm text-text-primary mt-0.5",
414
442
  children: /* @__PURE__ */ D("span", {
415
443
  className: "text-text-secondary italic",
416
- children: I("products.hiddenSetViaEdit", "Hidden — set via Edit page")
444
+ children: R("products.hiddenSetViaEdit", "Hidden — set via Edit page")
417
445
  })
418
446
  })] })]
419
447
  })]
420
448
  }),
421
449
  /* @__PURE__ */ D(f, {
422
- productId: L.slug,
423
- productName: L.name,
450
+ productId: z.slug,
451
+ productName: z.name,
424
452
  readOnly: !0
425
453
  }),
426
454
  /* @__PURE__ */ O("div", {
427
455
  className: "lg:col-span-2 bg-bg-surface border border-border-seam rounded-card shadow-elevation-1",
428
456
  children: [/* @__PURE__ */ D("h2", {
429
457
  className: "text-lg font-semibold text-text-primary p-6 pb-0",
430
- children: I("products.activityHistory", "Activity History")
458
+ children: R("products.activityHistory", "Activity History")
431
459
  }), /* @__PURE__ */ D(d, {
432
- resourceId: L.id,
460
+ resourceId: z.id,
433
461
  resourceType: "PlatformProduct"
434
462
  })]
435
463
  }),
436
- L.metadata && Object.keys(L.metadata).length > 0 && /* @__PURE__ */ O("div", {
464
+ z.metadata && Object.keys(z.metadata).length > 0 && /* @__PURE__ */ O("div", {
437
465
  className: "bg-bg-surface bg-accent-wash border border-border-seam rounded-card p-6 shadow-elevation-1 transition-[box-shadow,border-color] duration-200 hover:border-border-strong hover:shadow-[var(--shadow-pop)]",
438
466
  children: [/* @__PURE__ */ D("h2", {
439
467
  className: "text-lg font-semibold text-text-primary mb-4",
440
- children: I("products.metadata", "Metadata")
468
+ children: R("products.metadata", "Metadata")
441
469
  }), /* @__PURE__ */ D("dl", {
442
470
  className: "space-y-3",
443
- children: Object.entries(L.metadata).map(([e, t]) => /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("dt", {
471
+ children: Object.entries(z.metadata).map(([e, t]) => /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("dt", {
444
472
  className: "text-sm font-medium text-text-secondary capitalize",
445
473
  children: e.replace(/([A-Z])/g, " $1").trim()
446
474
  }), /* @__PURE__ */ D("dd", {
@@ -451,11 +479,11 @@ function M() {
451
479
  })
452
480
  ]
453
481
  }),
454
- U
482
+ G
455
483
  ]
456
484
  });
457
485
  }
458
486
  //#endregion
459
- export { M as ProductDetailPage };
487
+ export { P as ProductDetailPage };
460
488
 
461
489
  //# sourceMappingURL=ProductDetailPage.js.map