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