@burdenoff/microfe-product 2026.624.3 → 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 +91 -89
- 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 +164 -159
- 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 +82 -80
- 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 +83 -79
- 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 +71 -69
- 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 +80 -75
- 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 +142 -140
- 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 +188 -179
- 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 +167 -175
- 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 +171 -168
- 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/package.json +2 -2
- package/dist/product-management/shared/components/feedback/EmptyState.js.map +0 -1
|
@@ -42,7 +42,7 @@ function c() {
|
|
|
42
42
|
})]
|
|
43
43
|
}),
|
|
44
44
|
/* @__PURE__ */ o("h1", {
|
|
45
|
-
className: "text-3xl font-
|
|
45
|
+
className: "text-2xl md:text-3xl font-semibold tracking-tight text-text-primary mb-2",
|
|
46
46
|
children: u("products.createProduct", "Create Product")
|
|
47
47
|
}),
|
|
48
48
|
/* @__PURE__ */ o("p", {
|
|
@@ -61,7 +61,7 @@ function c() {
|
|
|
61
61
|
/* @__PURE__ */ o("div", {
|
|
62
62
|
className: "max-w-2xl",
|
|
63
63
|
children: /* @__PURE__ */ o("div", {
|
|
64
|
-
className: "bg-surface border border-
|
|
64
|
+
className: "bg-bg-surface bg-accent-wash border border-border-seam rounded-card p-6 shadow-elevation-1",
|
|
65
65
|
children: /* @__PURE__ */ o(r, {
|
|
66
66
|
onSubmit: h,
|
|
67
67
|
onCancel: g,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductCreatePage.js","names":[],"sources":["../../../../../src/product-management/modules/products/pages/ProductCreatePage.tsx"],"sourcesContent":["import { useState } from 'react';\nimport { ArrowLeft } from 'lucide-react';\nimport { useTr } from '../../../shared/hooks/useTr';\nimport { useProductConsole } from '../../../providers/ProductConsoleProvider';\nimport { useCreateProduct } from '../hooks/useProducts';\nimport { ProductForm } from '../components/ProductForm';\nimport type { CreateProductInput, UpdateProductInput } from '../types';\n\nexport function ProductCreatePage() {\n const { navigate, basePath = '/products' } = useProductConsole();\n const tr = useTr();\n const { createProduct, loading } = useCreateProduct();\n const [error, setError] = useState<string | null>(null);\n\n const handleSubmit = async (data: CreateProductInput | UpdateProductInput) => {\n try {\n setError(null);\n const createData = data as CreateProductInput;\n const result = await createProduct(createData);\n\n // Generated hooks (v3-style codegen) return GraphQL errors in `result.errors`\n // instead of throwing. Surface them inline so submit doesn't silently succeed.\n if (result.errors && result.errors.length > 0) {\n setError(result.errors[0]?.message ?? 'Failed to create product');\n return;\n }\n\n if (result.data?.createPlatformProduct) {\n navigate(`${basePath}/${result.data.createPlatformProduct.id}`);\n return;\n }\n\n setError('Failed to create product');\n } catch (err) {\n const message = err instanceof Error ? err.message : 'Failed to create product';\n setError(message);\n console.error('Failed to create product:', err);\n }\n };\n\n const handleCancel = () => {\n navigate(basePath);\n };\n\n return (\n <div className=\"min-h-full bg-[var(--color-bg-canvas)] p-6 animate-in fade-in duration-200\">\n <div className=\"mb-6\">\n <button\n type=\"button\"\n onClick={handleCancel}\n 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 \"\n >\n <ArrowLeft size={20} />\n <span className=\"text-sm font-medium\">\n {tr('products.backToProducts', 'Back to Products')}\n </span>\n </button>\n\n <h1 className=\"text-3xl font-
|
|
1
|
+
{"version":3,"file":"ProductCreatePage.js","names":[],"sources":["../../../../../src/product-management/modules/products/pages/ProductCreatePage.tsx"],"sourcesContent":["import { useState } from 'react';\nimport { ArrowLeft } from 'lucide-react';\nimport { useTr } from '../../../shared/hooks/useTr';\nimport { useProductConsole } from '../../../providers/ProductConsoleProvider';\nimport { useCreateProduct } from '../hooks/useProducts';\nimport { ProductForm } from '../components/ProductForm';\nimport type { CreateProductInput, UpdateProductInput } from '../types';\n\nexport function ProductCreatePage() {\n const { navigate, basePath = '/products' } = useProductConsole();\n const tr = useTr();\n const { createProduct, loading } = useCreateProduct();\n const [error, setError] = useState<string | null>(null);\n\n const handleSubmit = async (data: CreateProductInput | UpdateProductInput) => {\n try {\n setError(null);\n const createData = data as CreateProductInput;\n const result = await createProduct(createData);\n\n // Generated hooks (v3-style codegen) return GraphQL errors in `result.errors`\n // instead of throwing. Surface them inline so submit doesn't silently succeed.\n if (result.errors && result.errors.length > 0) {\n setError(result.errors[0]?.message ?? 'Failed to create product');\n return;\n }\n\n if (result.data?.createPlatformProduct) {\n navigate(`${basePath}/${result.data.createPlatformProduct.id}`);\n return;\n }\n\n setError('Failed to create product');\n } catch (err) {\n const message = err instanceof Error ? err.message : 'Failed to create product';\n setError(message);\n console.error('Failed to create product:', err);\n }\n };\n\n const handleCancel = () => {\n navigate(basePath);\n };\n\n return (\n <div className=\"min-h-full bg-[var(--color-bg-canvas)] p-6 animate-in fade-in duration-200\">\n <div className=\"mb-6\">\n <button\n type=\"button\"\n onClick={handleCancel}\n 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 \"\n >\n <ArrowLeft size={20} />\n <span className=\"text-sm font-medium\">\n {tr('products.backToProducts', 'Back to Products')}\n </span>\n </button>\n\n <h1 className=\"text-2xl md:text-3xl font-semibold tracking-tight text-text-primary mb-2\">\n {tr('products.createProduct', 'Create Product')}\n </h1>\n <p className=\"text-text-secondary\">\n {tr('products.createProductSubtitle', 'Add a new product to the platform')}\n </p>\n </div>\n\n {error && (\n <div className=\"mb-6 max-w-2xl p-4 bg-[var(--color-status-error-subtle)] border border-[var(--color-status-error-border)] rounded-lg\">\n <p className=\"text-sm text-[var(--color-status-error)]\">{error}</p>\n </div>\n )}\n\n <div className=\"max-w-2xl\">\n <div className=\"bg-bg-surface bg-accent-wash border border-border-seam rounded-card p-6 shadow-elevation-1\">\n <ProductForm onSubmit={handleSubmit} onCancel={handleCancel} loading={loading} />\n </div>\n </div>\n </div>\n );\n}\n"],"mappings":";;;;;;;;AAQA,SAAgB,IAAoB;CAClC,IAAM,EAAE,aAAU,cAAW,gBAAgB,GAAmB,EAC1D,IAAK,GAAO,EACZ,EAAE,kBAAe,eAAY,GAAkB,EAC/C,CAAC,GAAO,KAAY,EAAwB,KAAK,EAEjD,IAAe,OAAO,MAAkD;AAC5E,MAAI;AACF,KAAS,KAAK;GAEd,IAAM,IAAS,MAAM,EAAc,EAAW;AAI9C,OAAI,EAAO,UAAU,EAAO,OAAO,SAAS,GAAG;AAC7C,MAAS,EAAO,OAAO,IAAI,WAAW,2BAA2B;AACjE;;AAGF,OAAI,EAAO,MAAM,uBAAuB;AACtC,MAAS,GAAG,EAAS,GAAG,EAAO,KAAK,sBAAsB,KAAK;AAC/D;;AAGF,KAAS,2BAA2B;WAC7B,GAAK;AAGZ,GADA,EADgB,aAAe,QAAQ,EAAI,UAAU,2BACpC,EACjB,QAAQ,MAAM,6BAA6B,EAAI;;IAI7C,UAAqB;AACzB,IAAS,EAAS;;AAGpB,QACE,kBAAC,OAAD;EAAK,WAAU;YAAf;GACE,kBAAC,OAAD;IAAK,WAAU;cAAf;KACE,kBAAC,UAAD;MACE,MAAK;MACL,SAAS;MACT,WAAU;gBAHZ,CAUE,kBAAC,GAAD,EAAW,MAAM,IAAM,CAAA,EACvB,kBAAC,QAAD;OAAM,WAAU;iBACb,EAAG,2BAA2B,mBAAmB;OAC7C,CAAA,CACA;;KAET,kBAAC,MAAD;MAAI,WAAU;gBACX,EAAG,0BAA0B,iBAAiB;MAC5C,CAAA;KACL,kBAAC,KAAD;MAAG,WAAU;gBACV,EAAG,kCAAkC,oCAAoC;MACxE,CAAA;KACA;;GAEL,KACC,kBAAC,OAAD;IAAK,WAAU;cACb,kBAAC,KAAD;KAAG,WAAU;eAA4C;KAAU,CAAA;IAC/D,CAAA;GAGR,kBAAC,OAAD;IAAK,WAAU;cACb,kBAAC,OAAD;KAAK,WAAU;eACb,kBAAC,GAAD;MAAa,UAAU;MAAc,UAAU;MAAuB;MAAW,CAAA;KAC7E,CAAA;IACF,CAAA;GACF"}
|
|
@@ -12,52 +12,53 @@ import { ArrowLeft as p, Edit as m, ExternalLink as h, FileText as g, Link as _,
|
|
|
12
12
|
import { useI18n as E } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
|
|
13
13
|
import { jsx as D, jsxs as O } from "react/jsx-runtime";
|
|
14
14
|
import { useParams as k } from "react-router-dom";
|
|
15
|
+
import { CTAOverflowMenu as A, EmphasisPanel as j } from "@burdenoff/fe-libs/ui";
|
|
15
16
|
//#region src/product-management/modules/products/pages/ProductDetailPage.tsx
|
|
16
|
-
function
|
|
17
|
-
let { id:
|
|
18
|
-
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);
|
|
19
20
|
return n === e ? t : n;
|
|
20
|
-
}, { product:
|
|
21
|
+
}, { product: L, loading: R, error: z } = i(M), { deleteProduct: B, loading: V } = r(), { confirm: H, ConfirmDialog: U } = l(), W = async () => {
|
|
21
22
|
s("medium");
|
|
22
|
-
let e =
|
|
23
|
+
let e = I("products.confirmDeleteProduct", "Are you sure you want to delete this product?"), t = await o({
|
|
23
24
|
title: "Delete product",
|
|
24
25
|
message: e,
|
|
25
26
|
okButtonTitle: "Delete",
|
|
26
27
|
cancelButtonTitle: "Cancel"
|
|
27
28
|
});
|
|
28
|
-
if (t === null ? await
|
|
29
|
+
if (t === null ? await H({
|
|
29
30
|
title: "Delete product",
|
|
30
31
|
message: e,
|
|
31
32
|
okButtonTitle: "Delete",
|
|
32
33
|
cancelButtonTitle: "Cancel",
|
|
33
34
|
destructive: !0
|
|
34
35
|
}) : t) try {
|
|
35
|
-
await
|
|
36
|
+
await B(L.id), c("success"), N(P);
|
|
36
37
|
} catch (e) {
|
|
37
38
|
c("error"), console.error("Failed to delete product:", e);
|
|
38
39
|
}
|
|
39
40
|
};
|
|
40
|
-
if (
|
|
41
|
+
if (R) return /* @__PURE__ */ D("div", {
|
|
41
42
|
className: "min-h-full bg-[var(--color-bg-canvas)] p-6",
|
|
42
|
-
children: /* @__PURE__ */ D(t, { message:
|
|
43
|
+
children: /* @__PURE__ */ D(t, { message: I("products.loadingProductDetails", "Loading product details...") })
|
|
43
44
|
});
|
|
44
|
-
if (
|
|
45
|
+
if (z || !L) return /* @__PURE__ */ D("div", {
|
|
45
46
|
className: "min-h-full bg-[var(--color-bg-canvas)] p-6",
|
|
46
47
|
children: /* @__PURE__ */ D(n, {
|
|
47
|
-
message:
|
|
48
|
+
message: z?.message || I("products.productNotFound", "Product not found"),
|
|
48
49
|
action: {
|
|
49
|
-
label:
|
|
50
|
-
onClick: () =>
|
|
50
|
+
label: I("products.backToProducts", "Back to Products"),
|
|
51
|
+
onClick: () => N(P)
|
|
51
52
|
}
|
|
52
53
|
})
|
|
53
54
|
});
|
|
54
|
-
let
|
|
55
|
+
let G = (e) => new Date(e).toLocaleDateString("en-US", {
|
|
55
56
|
year: "numeric",
|
|
56
57
|
month: "long",
|
|
57
58
|
day: "numeric",
|
|
58
59
|
hour: "2-digit",
|
|
59
60
|
minute: "2-digit"
|
|
60
|
-
}),
|
|
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;
|
|
61
62
|
return /* @__PURE__ */ O("div", {
|
|
62
63
|
className: "min-h-full bg-[var(--color-bg-canvas)] p-6 animate-in fade-in duration-200",
|
|
63
64
|
children: [
|
|
@@ -65,22 +66,22 @@ function A() {
|
|
|
65
66
|
className: "mb-6",
|
|
66
67
|
children: [/* @__PURE__ */ O("button", {
|
|
67
68
|
type: "button",
|
|
68
|
-
onClick: () =>
|
|
69
|
+
onClick: () => N(P),
|
|
69
70
|
className: "\n inline-flex items-center gap-2 mb-4\n text-text-secondary\n hover:text-text-primary\n transition-all duration-200\n ",
|
|
70
71
|
children: [/* @__PURE__ */ D(p, { size: 20 }), /* @__PURE__ */ D("span", {
|
|
71
72
|
className: "text-sm font-medium",
|
|
72
|
-
children:
|
|
73
|
+
children: I("products.backToProducts", "Back to Products")
|
|
73
74
|
})]
|
|
74
|
-
}), /* @__PURE__ */ O(
|
|
75
|
-
className: "flex items-start justify-between",
|
|
75
|
+
}), /* @__PURE__ */ O(j, {
|
|
76
|
+
className: "relative overflow-hidden flex flex-col sm:flex-row sm:items-start sm:justify-between gap-4",
|
|
76
77
|
children: [/* @__PURE__ */ O("div", {
|
|
77
78
|
className: "flex items-center gap-4",
|
|
78
|
-
children: [
|
|
79
|
-
src:
|
|
80
|
-
alt:
|
|
81
|
-
className: "size-16 rounded-
|
|
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"
|
|
82
83
|
}) : /* @__PURE__ */ D("div", {
|
|
83
|
-
className: "size-16 rounded-
|
|
84
|
+
className: "size-16 rounded-card bg-[var(--color-status-warning-subtle)] flex items-center justify-center",
|
|
84
85
|
children: /* @__PURE__ */ D(b, {
|
|
85
86
|
size: 32,
|
|
86
87
|
className: "text-[var(--color-status-warning)]"
|
|
@@ -88,27 +89,28 @@ function A() {
|
|
|
88
89
|
}), /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ O("div", {
|
|
89
90
|
className: "flex items-center gap-3 mb-2",
|
|
90
91
|
children: [/* @__PURE__ */ D("h1", {
|
|
91
|
-
className: "text-3xl font-
|
|
92
|
-
children:
|
|
93
|
-
}), /* @__PURE__ */ D(a, { status:
|
|
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 })]
|
|
94
95
|
}), /* @__PURE__ */ O("p", {
|
|
95
|
-
className: "text-text-secondary",
|
|
96
|
-
children: ["/",
|
|
96
|
+
className: "text-text-secondary font-mono",
|
|
97
|
+
children: ["/", L.slug]
|
|
97
98
|
})] })]
|
|
98
|
-
}), /* @__PURE__ */
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
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
|
+
}]
|
|
112
114
|
})]
|
|
113
115
|
})]
|
|
114
116
|
}),
|
|
@@ -116,166 +118,166 @@ function A() {
|
|
|
116
118
|
className: "grid grid-cols-1 lg:grid-cols-2 gap-6",
|
|
117
119
|
children: [
|
|
118
120
|
/* @__PURE__ */ O("div", {
|
|
119
|
-
className: "bg-surface border border-
|
|
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)]",
|
|
120
122
|
children: [/* @__PURE__ */ D("h2", {
|
|
121
123
|
className: "text-lg font-semibold text-text-primary mb-4",
|
|
122
|
-
children:
|
|
124
|
+
children: I("products.basicInformation", "Basic Information")
|
|
123
125
|
}), /* @__PURE__ */ O("dl", {
|
|
124
126
|
className: "space-y-3",
|
|
125
127
|
children: [
|
|
126
128
|
/* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("dt", {
|
|
127
129
|
className: "text-sm font-medium text-text-secondary",
|
|
128
|
-
children:
|
|
130
|
+
children: I("products.name", "Name")
|
|
129
131
|
}), /* @__PURE__ */ D("dd", {
|
|
130
132
|
className: "text-sm text-text-primary mt-1",
|
|
131
|
-
children:
|
|
133
|
+
children: L.name
|
|
132
134
|
})] }),
|
|
133
135
|
/* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("dt", {
|
|
134
136
|
className: "text-sm font-medium text-text-secondary",
|
|
135
|
-
children:
|
|
137
|
+
children: I("products.slug", "Slug")
|
|
136
138
|
}), /* @__PURE__ */ D("dd", {
|
|
137
139
|
className: "text-sm text-text-primary mt-1 font-mono",
|
|
138
|
-
children:
|
|
140
|
+
children: L.slug
|
|
139
141
|
})] }),
|
|
140
|
-
|
|
142
|
+
L.tags && L.tags.length > 0 && /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("dt", {
|
|
141
143
|
className: "text-sm font-medium text-text-secondary mb-1",
|
|
142
|
-
children:
|
|
143
|
-
}), /* @__PURE__ */ D("dd", { children: /* @__PURE__ */ D(u, { tags:
|
|
144
|
+
children: I("products.tags", "Tags")
|
|
145
|
+
}), /* @__PURE__ */ D("dd", { children: /* @__PURE__ */ D(u, { tags: L.tags }) })] })
|
|
144
146
|
]
|
|
145
147
|
})]
|
|
146
148
|
}),
|
|
147
|
-
|
|
148
|
-
className: "bg-surface border border-
|
|
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)]",
|
|
149
151
|
children: [/* @__PURE__ */ D("h2", {
|
|
150
152
|
className: "text-lg font-semibold text-text-primary mb-4",
|
|
151
|
-
children:
|
|
153
|
+
children: I("products.description", "Description")
|
|
152
154
|
}), /* @__PURE__ */ D("p", {
|
|
153
155
|
className: "text-sm text-text-secondary leading-relaxed",
|
|
154
|
-
children:
|
|
156
|
+
children: L.description
|
|
155
157
|
})]
|
|
156
158
|
}),
|
|
157
159
|
/* @__PURE__ */ O("div", {
|
|
158
|
-
className: "bg-surface border border-
|
|
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)]",
|
|
159
161
|
children: [/* @__PURE__ */ D("h2", {
|
|
160
162
|
className: "text-lg font-semibold text-text-primary mb-4",
|
|
161
|
-
children:
|
|
163
|
+
children: I("products.timestamps", "Timestamps")
|
|
162
164
|
}), /* @__PURE__ */ O("dl", {
|
|
163
165
|
className: "space-y-3",
|
|
164
166
|
children: [/* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("dt", {
|
|
165
167
|
className: "text-sm font-medium text-text-secondary",
|
|
166
|
-
children:
|
|
168
|
+
children: I("products.created", "Created")
|
|
167
169
|
}), /* @__PURE__ */ D("dd", {
|
|
168
170
|
className: "text-sm text-text-primary mt-1",
|
|
169
|
-
children:
|
|
171
|
+
children: G(L.createdAt)
|
|
170
172
|
})] }), /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("dt", {
|
|
171
173
|
className: "text-sm font-medium text-text-secondary",
|
|
172
|
-
children:
|
|
174
|
+
children: I("products.lastUpdated", "Last Updated")
|
|
173
175
|
}), /* @__PURE__ */ D("dd", {
|
|
174
176
|
className: "text-sm text-text-primary mt-1",
|
|
175
|
-
children:
|
|
177
|
+
children: G(L.updatedAt)
|
|
176
178
|
})] })]
|
|
177
179
|
})]
|
|
178
180
|
}),
|
|
179
|
-
|
|
180
|
-
className: "bg-surface border border-
|
|
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)]",
|
|
181
183
|
children: [/* @__PURE__ */ D("h2", {
|
|
182
184
|
className: "text-lg font-semibold text-text-primary mb-4",
|
|
183
|
-
children:
|
|
185
|
+
children: I("products.contactInformation", "Contact Information")
|
|
184
186
|
}), /* @__PURE__ */ O("dl", {
|
|
185
187
|
className: "space-y-3",
|
|
186
188
|
children: [
|
|
187
|
-
|
|
189
|
+
L.contactEmail && /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ O("dt", {
|
|
188
190
|
className: "text-sm font-medium text-text-secondary flex items-center gap-1.5",
|
|
189
|
-
children: [/* @__PURE__ */ D(v, { size: 14 }),
|
|
191
|
+
children: [/* @__PURE__ */ D(v, { size: 14 }), I("products.contactEmail", "Contact Email")]
|
|
190
192
|
}), /* @__PURE__ */ D("dd", {
|
|
191
193
|
className: "text-sm mt-1",
|
|
192
194
|
children: /* @__PURE__ */ D("a", {
|
|
193
|
-
href: `mailto:${
|
|
195
|
+
href: `mailto:${L.contactEmail}`,
|
|
194
196
|
className: "text-[var(--color-text-link)] hover:underline",
|
|
195
|
-
children:
|
|
197
|
+
children: L.contactEmail
|
|
196
198
|
})
|
|
197
199
|
})] }),
|
|
198
|
-
|
|
200
|
+
L.supportEmail && /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ O("dt", {
|
|
199
201
|
className: "text-sm font-medium text-text-secondary flex items-center gap-1.5",
|
|
200
|
-
children: [/* @__PURE__ */ D(v, { size: 14 }),
|
|
202
|
+
children: [/* @__PURE__ */ D(v, { size: 14 }), I("products.supportEmail", "Support Email")]
|
|
201
203
|
}), /* @__PURE__ */ D("dd", {
|
|
202
204
|
className: "text-sm mt-1",
|
|
203
205
|
children: /* @__PURE__ */ D("a", {
|
|
204
|
-
href: `mailto:${
|
|
206
|
+
href: `mailto:${L.supportEmail}`,
|
|
205
207
|
className: "text-[var(--color-text-link)] hover:underline",
|
|
206
|
-
children:
|
|
208
|
+
children: L.supportEmail
|
|
207
209
|
})
|
|
208
210
|
})] }),
|
|
209
|
-
|
|
211
|
+
L.contactPhone && /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ O("dt", {
|
|
210
212
|
className: "text-sm font-medium text-text-secondary flex items-center gap-1.5",
|
|
211
|
-
children: [/* @__PURE__ */ D(x, { size: 14 }),
|
|
213
|
+
children: [/* @__PURE__ */ D(x, { size: 14 }), I("products.phone", "Phone")]
|
|
212
214
|
}), /* @__PURE__ */ D("dd", {
|
|
213
215
|
className: "text-sm mt-1",
|
|
214
216
|
children: /* @__PURE__ */ D("a", {
|
|
215
|
-
href: `tel:${
|
|
217
|
+
href: `tel:${L.contactPhone}`,
|
|
216
218
|
className: "text-[var(--color-text-link)] hover:underline",
|
|
217
|
-
children:
|
|
219
|
+
children: L.contactPhone
|
|
218
220
|
})
|
|
219
221
|
})] }),
|
|
220
|
-
|
|
222
|
+
L.contactAddress && /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ O("dt", {
|
|
221
223
|
className: "text-sm font-medium text-text-secondary flex items-center gap-1.5",
|
|
222
|
-
children: [/* @__PURE__ */ D(y, { size: 14 }),
|
|
224
|
+
children: [/* @__PURE__ */ D(y, { size: 14 }), I("products.address", "Address")]
|
|
223
225
|
}), /* @__PURE__ */ D("dd", {
|
|
224
226
|
className: "text-sm text-text-primary mt-1",
|
|
225
|
-
children:
|
|
227
|
+
children: L.contactAddress
|
|
226
228
|
})] })
|
|
227
229
|
]
|
|
228
230
|
})]
|
|
229
231
|
}),
|
|
230
|
-
|
|
231
|
-
className: "bg-surface border border-
|
|
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)]",
|
|
232
234
|
children: [/* @__PURE__ */ O("h2", {
|
|
233
235
|
className: "text-lg font-semibold text-text-primary mb-4 flex items-center gap-2",
|
|
234
|
-
children: [/* @__PURE__ */ D(S, { size: 18 }),
|
|
236
|
+
children: [/* @__PURE__ */ D(S, { size: 18 }), I("products.seoMetadata", "SEO Metadata")]
|
|
235
237
|
}), /* @__PURE__ */ O("dl", {
|
|
236
238
|
className: "space-y-3",
|
|
237
239
|
children: [
|
|
238
|
-
|
|
240
|
+
L.seoTitle && /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("dt", {
|
|
239
241
|
className: "text-sm font-medium text-text-secondary",
|
|
240
|
-
children:
|
|
242
|
+
children: I("products.seoTitle", "SEO Title")
|
|
241
243
|
}), /* @__PURE__ */ D("dd", {
|
|
242
244
|
className: "text-sm text-text-primary mt-1",
|
|
243
|
-
children:
|
|
245
|
+
children: L.seoTitle
|
|
244
246
|
})] }),
|
|
245
|
-
|
|
247
|
+
L.seoDescription && /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("dt", {
|
|
246
248
|
className: "text-sm font-medium text-text-secondary",
|
|
247
|
-
children:
|
|
249
|
+
children: I("products.seoDescription", "SEO Description")
|
|
248
250
|
}), /* @__PURE__ */ D("dd", {
|
|
249
251
|
className: "text-sm text-text-primary mt-1 leading-relaxed",
|
|
250
|
-
children:
|
|
252
|
+
children: L.seoDescription
|
|
251
253
|
})] }),
|
|
252
|
-
|
|
254
|
+
L.seoKeywords && /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("dt", {
|
|
253
255
|
className: "text-sm font-medium text-text-secondary",
|
|
254
|
-
children:
|
|
256
|
+
children: I("products.keywords", "Keywords")
|
|
255
257
|
}), /* @__PURE__ */ D("dd", {
|
|
256
258
|
className: "text-sm text-text-primary mt-1",
|
|
257
259
|
children: /* @__PURE__ */ D("div", {
|
|
258
260
|
className: "flex flex-wrap gap-1.5 mt-1",
|
|
259
|
-
children: (typeof
|
|
261
|
+
children: (typeof L.seoKeywords == "string" ? L.seoKeywords.split(",").map((e) => e.trim()) : L.seoKeywords).map((e) => /* @__PURE__ */ D("span", {
|
|
260
262
|
className: "inline-flex px-2 py-0.5 text-xs font-medium rounded-full bg-bg-sunken text-text-secondary border border-default",
|
|
261
263
|
children: e
|
|
262
264
|
}, e))
|
|
263
265
|
})
|
|
264
266
|
})] }),
|
|
265
|
-
|
|
267
|
+
L.ogImage && /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("dt", {
|
|
266
268
|
className: "text-sm font-medium text-text-secondary",
|
|
267
|
-
children:
|
|
269
|
+
children: I("products.ogImage", "OG Image")
|
|
268
270
|
}), /* @__PURE__ */ O("dd", {
|
|
269
271
|
className: "text-sm mt-1",
|
|
270
272
|
children: [/* @__PURE__ */ D("a", {
|
|
271
|
-
href:
|
|
273
|
+
href: L.ogImage,
|
|
272
274
|
target: "_blank",
|
|
273
275
|
rel: "noopener noreferrer",
|
|
274
276
|
className: "text-[var(--color-text-link)] hover:underline break-all",
|
|
275
|
-
children:
|
|
277
|
+
children: L.ogImage
|
|
276
278
|
}), /* @__PURE__ */ D("img", {
|
|
277
|
-
src:
|
|
278
|
-
alt:
|
|
279
|
+
src: L.ogImage,
|
|
280
|
+
alt: I("products.ogImagePreview", "OG Image preview"),
|
|
279
281
|
className: "mt-2 max-w-[200px] max-h-[120px] rounded border border-default object-cover",
|
|
280
282
|
onError: (e) => {
|
|
281
283
|
e.target.style.display = "none";
|
|
@@ -285,48 +287,48 @@ function A() {
|
|
|
285
287
|
]
|
|
286
288
|
})]
|
|
287
289
|
}),
|
|
288
|
-
|
|
289
|
-
className: "bg-surface border border-
|
|
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)]",
|
|
290
292
|
children: [/* @__PURE__ */ O("h2", {
|
|
291
293
|
className: "text-lg font-semibold text-text-primary mb-4 flex items-center gap-2",
|
|
292
|
-
children: [/* @__PURE__ */ D(h, { size: 18 }),
|
|
294
|
+
children: [/* @__PURE__ */ D(h, { size: 18 }), I("products.appStoreLinks", "App Store Links")]
|
|
293
295
|
}), /* @__PURE__ */ O("dl", {
|
|
294
296
|
className: "space-y-3",
|
|
295
|
-
children: [
|
|
297
|
+
children: [L.appStoreUrl && /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("dt", {
|
|
296
298
|
className: "text-sm font-medium text-text-secondary",
|
|
297
|
-
children:
|
|
299
|
+
children: I("products.appleAppStore", "Apple App Store")
|
|
298
300
|
}), /* @__PURE__ */ D("dd", {
|
|
299
301
|
className: "text-sm mt-1",
|
|
300
302
|
children: /* @__PURE__ */ O("a", {
|
|
301
|
-
href:
|
|
303
|
+
href: L.appStoreUrl,
|
|
302
304
|
target: "_blank",
|
|
303
305
|
rel: "noopener noreferrer",
|
|
304
306
|
className: "inline-flex items-center gap-1.5 text-[var(--color-text-link)] hover:underline",
|
|
305
|
-
children: [
|
|
307
|
+
children: [L.appStoreUrl, /* @__PURE__ */ D(h, { size: 12 })]
|
|
306
308
|
})
|
|
307
|
-
})] }),
|
|
309
|
+
})] }), L.playStoreUrl && /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("dt", {
|
|
308
310
|
className: "text-sm font-medium text-text-secondary",
|
|
309
|
-
children:
|
|
311
|
+
children: I("products.googlePlayStore", "Google Play Store")
|
|
310
312
|
}), /* @__PURE__ */ D("dd", {
|
|
311
313
|
className: "text-sm mt-1",
|
|
312
314
|
children: /* @__PURE__ */ O("a", {
|
|
313
|
-
href:
|
|
315
|
+
href: L.playStoreUrl,
|
|
314
316
|
target: "_blank",
|
|
315
317
|
rel: "noopener noreferrer",
|
|
316
318
|
className: "inline-flex items-center gap-1.5 text-[var(--color-text-link)] hover:underline",
|
|
317
|
-
children: [
|
|
319
|
+
children: [L.playStoreUrl, /* @__PURE__ */ D(h, { size: 12 })]
|
|
318
320
|
})
|
|
319
321
|
})] })]
|
|
320
322
|
})]
|
|
321
323
|
}),
|
|
322
|
-
|
|
323
|
-
className: "bg-surface border border-
|
|
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)]",
|
|
324
326
|
children: [/* @__PURE__ */ O("h2", {
|
|
325
327
|
className: "text-lg font-semibold text-text-primary mb-4 flex items-center gap-2",
|
|
326
|
-
children: [/* @__PURE__ */ D(C, { size: 18 }),
|
|
328
|
+
children: [/* @__PURE__ */ D(C, { size: 18 }), I("products.socialMediaLinks", "Social Media Links")]
|
|
327
329
|
}), /* @__PURE__ */ D("dl", {
|
|
328
330
|
className: "space-y-3",
|
|
329
|
-
children: Object.entries(
|
|
331
|
+
children: Object.entries(L.socialLinks).map(([e, t]) => /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("dt", {
|
|
330
332
|
className: "text-sm font-medium text-text-secondary capitalize",
|
|
331
333
|
children: e
|
|
332
334
|
}), /* @__PURE__ */ D("dd", {
|
|
@@ -341,14 +343,14 @@ function A() {
|
|
|
341
343
|
})] }, e))
|
|
342
344
|
})]
|
|
343
345
|
}),
|
|
344
|
-
|
|
345
|
-
className: "bg-surface border border-
|
|
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)]",
|
|
346
348
|
children: [/* @__PURE__ */ O("h2", {
|
|
347
349
|
className: "text-lg font-semibold text-text-primary mb-4 flex items-center gap-2",
|
|
348
|
-
children: [/* @__PURE__ */ D(_, { size: 18 }),
|
|
350
|
+
children: [/* @__PURE__ */ D(_, { size: 18 }), I("products.resourceLinks", "Resource Links")]
|
|
349
351
|
}), /* @__PURE__ */ D("dl", {
|
|
350
352
|
className: "space-y-3",
|
|
351
|
-
children: Object.entries(
|
|
353
|
+
children: Object.entries(L.resourceLinks).map(([e, t]) => /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("dt", {
|
|
352
354
|
className: "text-sm font-medium text-text-secondary capitalize",
|
|
353
355
|
children: e
|
|
354
356
|
}), /* @__PURE__ */ D("dd", {
|
|
@@ -364,26 +366,26 @@ function A() {
|
|
|
364
366
|
})]
|
|
365
367
|
}),
|
|
366
368
|
/* @__PURE__ */ O("div", {
|
|
367
|
-
className: "bg-surface border border-
|
|
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)]",
|
|
368
370
|
children: [
|
|
369
371
|
/* @__PURE__ */ O("h2", {
|
|
370
372
|
className: "text-lg font-semibold text-text-primary mb-4 flex items-center gap-2",
|
|
371
|
-
children: [/* @__PURE__ */ D(g, { size: 18 }),
|
|
373
|
+
children: [/* @__PURE__ */ D(g, { size: 18 }), I("products.contentPages", "Content Pages")]
|
|
372
374
|
}),
|
|
373
375
|
/* @__PURE__ */ D("p", {
|
|
374
376
|
className: "text-sm text-text-secondary mb-4",
|
|
375
|
-
children:
|
|
377
|
+
children: I("products.manageContentPages", "Manage content pages associated with this product.")
|
|
376
378
|
}),
|
|
377
379
|
/* @__PURE__ */ O("button", {
|
|
378
380
|
type: "button",
|
|
379
|
-
onClick: () =>
|
|
381
|
+
onClick: () => N(`${P}/content-pages`),
|
|
380
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 ",
|
|
381
|
-
children: [/* @__PURE__ */ D(g, { size: 16 }),
|
|
383
|
+
children: [/* @__PURE__ */ D(g, { size: 16 }), I("products.viewContentPages", "View Content Pages")]
|
|
382
384
|
})
|
|
383
385
|
]
|
|
384
386
|
}),
|
|
385
387
|
/* @__PURE__ */ O("div", {
|
|
386
|
-
className: "bg-surface border border-
|
|
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)]",
|
|
387
389
|
children: [/* @__PURE__ */ O("div", {
|
|
388
390
|
className: "flex items-center gap-2 mb-4",
|
|
389
391
|
children: [/* @__PURE__ */ D(w, {
|
|
@@ -391,54 +393,54 @@ function A() {
|
|
|
391
393
|
className: "text-text-secondary"
|
|
392
394
|
}), /* @__PURE__ */ D("h2", {
|
|
393
395
|
className: "text-lg font-semibold text-text-primary",
|
|
394
|
-
children:
|
|
396
|
+
children: I("products.integrations", "Integrations")
|
|
395
397
|
})]
|
|
396
398
|
}), /* @__PURE__ */ O("div", {
|
|
397
399
|
className: "space-y-3",
|
|
398
400
|
children: [/* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("dt", {
|
|
399
401
|
className: "text-sm font-medium text-text-secondary",
|
|
400
|
-
children:
|
|
402
|
+
children: I("products.recaptchaSiteKey", "reCAPTCHA Site Key")
|
|
401
403
|
}), /* @__PURE__ */ D("dd", {
|
|
402
404
|
className: "text-sm text-text-primary mt-0.5 font-mono",
|
|
403
|
-
children:
|
|
405
|
+
children: L.recaptchaSiteKey || /* @__PURE__ */ D("span", {
|
|
404
406
|
className: "text-text-secondary italic",
|
|
405
|
-
children:
|
|
407
|
+
children: I("products.notConfigured", "Not configured")
|
|
406
408
|
})
|
|
407
409
|
})] }), /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("dt", {
|
|
408
410
|
className: "text-sm font-medium text-text-secondary",
|
|
409
|
-
children:
|
|
411
|
+
children: I("products.recaptchaSecretKey", "reCAPTCHA Secret Key")
|
|
410
412
|
}), /* @__PURE__ */ D("dd", {
|
|
411
413
|
className: "text-sm text-text-primary mt-0.5",
|
|
412
414
|
children: /* @__PURE__ */ D("span", {
|
|
413
415
|
className: "text-text-secondary italic",
|
|
414
|
-
children:
|
|
416
|
+
children: I("products.hiddenSetViaEdit", "Hidden — set via Edit page")
|
|
415
417
|
})
|
|
416
418
|
})] })]
|
|
417
419
|
})]
|
|
418
420
|
}),
|
|
419
421
|
/* @__PURE__ */ D(f, {
|
|
420
|
-
productId:
|
|
421
|
-
productName:
|
|
422
|
+
productId: L.slug,
|
|
423
|
+
productName: L.name,
|
|
422
424
|
readOnly: !0
|
|
423
425
|
}),
|
|
424
426
|
/* @__PURE__ */ O("div", {
|
|
425
|
-
className: "lg:col-span-2 bg-surface border border-
|
|
427
|
+
className: "lg:col-span-2 bg-bg-surface border border-border-seam rounded-card shadow-elevation-1",
|
|
426
428
|
children: [/* @__PURE__ */ D("h2", {
|
|
427
429
|
className: "text-lg font-semibold text-text-primary p-6 pb-0",
|
|
428
|
-
children:
|
|
430
|
+
children: I("products.activityHistory", "Activity History")
|
|
429
431
|
}), /* @__PURE__ */ D(d, {
|
|
430
|
-
resourceId:
|
|
432
|
+
resourceId: L.id,
|
|
431
433
|
resourceType: "PlatformProduct"
|
|
432
434
|
})]
|
|
433
435
|
}),
|
|
434
|
-
|
|
435
|
-
className: "bg-surface border border-
|
|
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)]",
|
|
436
438
|
children: [/* @__PURE__ */ D("h2", {
|
|
437
439
|
className: "text-lg font-semibold text-text-primary mb-4",
|
|
438
|
-
children:
|
|
440
|
+
children: I("products.metadata", "Metadata")
|
|
439
441
|
}), /* @__PURE__ */ D("dl", {
|
|
440
442
|
className: "space-y-3",
|
|
441
|
-
children: Object.entries(
|
|
443
|
+
children: Object.entries(L.metadata).map(([e, t]) => /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("dt", {
|
|
442
444
|
className: "text-sm font-medium text-text-secondary capitalize",
|
|
443
445
|
children: e.replace(/([A-Z])/g, " $1").trim()
|
|
444
446
|
}), /* @__PURE__ */ D("dd", {
|
|
@@ -449,11 +451,11 @@ function A() {
|
|
|
449
451
|
})
|
|
450
452
|
]
|
|
451
453
|
}),
|
|
452
|
-
|
|
454
|
+
U
|
|
453
455
|
]
|
|
454
456
|
});
|
|
455
457
|
}
|
|
456
458
|
//#endregion
|
|
457
|
-
export {
|
|
459
|
+
export { M as ProductDetailPage };
|
|
458
460
|
|
|
459
461
|
//# sourceMappingURL=ProductDetailPage.js.map
|