@burdenoff/microfe-product 2026.520.3 → 2026.521.2

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