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