@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.
- package/dist/product/pages/ContentPageViewPage.js +1 -1
- package/dist/product/pages/ContentPageViewPage.js.map +1 -1
- package/dist/product/pages/ProductCatalogPage.js +2 -2
- package/dist/product/pages/ProductCatalogPage.js.map +1 -1
- package/dist/product/pages/ProductViewPage.js +1 -1
- package/dist/product/pages/ProductViewPage.js.map +1 -1
- package/dist/product-management/modules/content-pages/components/ContentPageForm.js +2 -2
- package/dist/product-management/modules/content-pages/components/ContentPageForm.js.map +1 -1
- package/dist/product-management/modules/content-pages/pages/ContentPageCreatePage.js +1 -1
- package/dist/product-management/modules/content-pages/pages/ContentPageCreatePage.js.map +1 -1
- package/dist/product-management/modules/content-pages/pages/ContentPageDetailPage.js +242 -231
- package/dist/product-management/modules/content-pages/pages/ContentPageDetailPage.js.map +1 -1
- package/dist/product-management/modules/content-pages/pages/ContentPageEditPage.js +1 -1
- package/dist/product-management/modules/content-pages/pages/ContentPageEditPage.js.map +1 -1
- package/dist/product-management/modules/content-pages/pages/ContentPagesListPage.js +293 -282
- 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 +1 -1
- package/dist/product-management/modules/feature-flags/pages/FeatureFlagCreatePage.js.map +1 -1
- package/dist/product-management/modules/feature-flags/pages/FeatureFlagDetailPage.js +144 -136
- package/dist/product-management/modules/feature-flags/pages/FeatureFlagDetailPage.js.map +1 -1
- package/dist/product-management/modules/feature-flags/pages/FeatureFlagEditPage.js +1 -1
- package/dist/product-management/modules/feature-flags/pages/FeatureFlagEditPage.js.map +1 -1
- package/dist/product-management/modules/feature-flags/pages/FeatureFlagsListPage.js +188 -204
- package/dist/product-management/modules/feature-flags/pages/FeatureFlagsListPage.js.map +1 -1
- package/dist/product-management/modules/press-kit/components/PressKitAssetForm.js +1 -1
- package/dist/product-management/modules/press-kit/components/PressKitAssetForm.js.map +1 -1
- package/dist/product-management/modules/press-kit/pages/PressKitCreatePage.js +1 -1
- package/dist/product-management/modules/press-kit/pages/PressKitCreatePage.js.map +1 -1
- package/dist/product-management/modules/press-kit/pages/PressKitDetailPage.js +95 -87
- package/dist/product-management/modules/press-kit/pages/PressKitDetailPage.js.map +1 -1
- package/dist/product-management/modules/press-kit/pages/PressKitEditPage.js +1 -1
- package/dist/product-management/modules/press-kit/pages/PressKitEditPage.js.map +1 -1
- package/dist/product-management/modules/press-kit/pages/PressKitListPage.js +250 -239
- package/dist/product-management/modules/press-kit/pages/PressKitListPage.js.map +1 -1
- package/dist/product-management/modules/products/components/ProductForm.js +1 -1
- package/dist/product-management/modules/products/components/ProductForm.js.map +1 -1
- package/dist/product-management/modules/products/pages/ProductCreatePage.js +1 -1
- package/dist/product-management/modules/products/pages/ProductCreatePage.js.map +1 -1
- package/dist/product-management/modules/products/pages/ProductDetailPage.js +407 -396
- package/dist/product-management/modules/products/pages/ProductDetailPage.js.map +1 -1
- package/dist/product-management/modules/products/pages/ProductEditPage.js +1 -1
- package/dist/product-management/modules/products/pages/ProductEditPage.js.map +1 -1
- package/dist/product-management/modules/products/pages/ProductsListPage.js +286 -275
- package/dist/product-management/modules/products/pages/ProductsListPage.js.map +1 -1
- package/dist/product-management/modules/shortcuts/components/ShortcutForm.js +1 -1
- package/dist/product-management/modules/shortcuts/components/ShortcutForm.js.map +1 -1
- package/dist/product-management/modules/shortcuts/pages/ShortcutCreatePage.js +1 -1
- package/dist/product-management/modules/shortcuts/pages/ShortcutCreatePage.js.map +1 -1
- package/dist/product-management/modules/shortcuts/pages/ShortcutDetailPage.js +236 -225
- package/dist/product-management/modules/shortcuts/pages/ShortcutDetailPage.js.map +1 -1
- package/dist/product-management/modules/shortcuts/pages/ShortcutEditPage.js +1 -1
- package/dist/product-management/modules/shortcuts/pages/ShortcutEditPage.js.map +1 -1
- package/dist/product-management/modules/shortcuts/pages/ShortcutsListPage.js +261 -245
- package/dist/product-management/modules/shortcuts/pages/ShortcutsListPage.js.map +1 -1
- package/dist/product-management/shared/components/feedback/ErrorState.js +1 -1
- package/dist/product-management/shared/components/feedback/ErrorState.js.map +1 -1
- package/dist/product-management/shared/components/feedback/LoadingState.js +1 -1
- package/dist/product-management/shared/components/feedback/LoadingState.js.map +1 -1
- package/dist/product-management/shared/hooks/useConfirmDialog.js +44 -0
- package/dist/product-management/shared/hooks/useConfirmDialog.js.map +1 -0
- 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 {
|
|
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";
|
|
14
15
|
//#region src/product-management/modules/products/pages/ProductDetailPage.tsx
|
|
15
|
-
function
|
|
16
|
-
let { id:
|
|
17
|
-
let n =
|
|
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:
|
|
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 =
|
|
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 ?
|
|
28
|
-
|
|
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 (
|
|
40
|
+
if (I) return /* @__PURE__ */ D("div", {
|
|
34
41
|
className: "min-h-full bg-[var(--color-bg-canvas)] p-6",
|
|
35
|
-
children: /* @__PURE__ */
|
|
42
|
+
children: /* @__PURE__ */ D(t, { message: P("products.loadingProductDetails", "Loading product details...") })
|
|
36
43
|
});
|
|
37
|
-
if (
|
|
44
|
+
if (L || !F) return /* @__PURE__ */ D("div", {
|
|
38
45
|
className: "min-h-full bg-[var(--color-bg-canvas)] p-6",
|
|
39
|
-
children: /* @__PURE__ */
|
|
40
|
-
message:
|
|
46
|
+
children: /* @__PURE__ */ D(n, {
|
|
47
|
+
message: L?.message || P("products.productNotFound", "Product not found"),
|
|
41
48
|
action: {
|
|
42
|
-
label:
|
|
43
|
-
onClick: () =>
|
|
49
|
+
label: P("products.backToProducts", "Back to Products"),
|
|
50
|
+
onClick: () => j(M)
|
|
44
51
|
}
|
|
45
52
|
})
|
|
46
53
|
});
|
|
47
|
-
let
|
|
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
|
-
}),
|
|
54
|
-
return /* @__PURE__ */
|
|
55
|
-
className: "min-h-full bg-[var(--color-bg-canvas)] p-6 animate-in fade-in duration-
|
|
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
|
-
|
|
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
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
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:
|
|
120
|
-
}), /* @__PURE__ */
|
|
166
|
+
children: P("products.created", "Created")
|
|
167
|
+
}), /* @__PURE__ */ D("dd", {
|
|
121
168
|
className: "text-sm text-text-primary mt-1",
|
|
122
|
-
children:
|
|
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:
|
|
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
|
-
|
|
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__ */
|
|
184
|
-
href:
|
|
185
|
-
|
|
186
|
-
|
|
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
|
-
|
|
190
|
-
|
|
191
|
-
|
|
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__ */
|
|
195
|
-
href:
|
|
196
|
-
|
|
197
|
-
|
|
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
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
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__ */
|
|
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))
|
|
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
|
-
|
|
257
|
-
|
|
258
|
-
|
|
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:
|
|
262
|
-
href:
|
|
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
|
|
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")
|
|
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
|
-
}),
|
|
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")
|
|
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
|
-
|
|
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
|
-
|
|
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 {
|
|
457
|
+
export { A as ProductDetailPage };
|
|
447
458
|
|
|
448
459
|
//# sourceMappingURL=ProductDetailPage.js.map
|