@burdenoff/microfe-product 2026.624.1 → 2026.624.3

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