@revenexx/cover 0.2.26 → 0.2.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (79) hide show
  1. package/app/api/brands.ts +5 -0
  2. package/app/api/categories.ts +1 -0
  3. package/app/api/product.ts +2 -0
  4. package/app/app.config.ts +8 -0
  5. package/app/components/cart/quickadd/CartQuickAdd.vue +110 -34
  6. package/app/components/category/view/GridView.vue +34 -13
  7. package/app/components/category/view/ListView.vue +5 -5
  8. package/app/components/layout/AppLogo.vue +2 -1
  9. package/app/components/layout/footer/Footer.vue +9 -3
  10. package/app/components/layout/header/CategoryPanel.vue +92 -0
  11. package/app/components/layout/header/MainNav.vue +89 -2
  12. package/app/components/listing/ListingResults.vue +16 -2
  13. package/app/components/listing/ListingSubcategories.vue +124 -0
  14. package/app/components/product/card/Compact.vue +144 -0
  15. package/app/components/product/detail/ProductDetailAssociations.vue +96 -0
  16. package/app/components/product/detail/ProductDetailIdentity.vue +50 -5
  17. package/app/components/product/detail/ProductDetailVariantRow.vue +139 -0
  18. package/app/components/product/detail/ProductDetailVariants.vue +613 -0
  19. package/app/components/product/media/ProductMediaImage.vue +70 -0
  20. package/app/components/ui/forms/SearchInput.vue +14 -2
  21. package/app/components/ui/media/ImageSlider.vue +158 -0
  22. package/app/composables/useBranding.ts +22 -0
  23. package/app/composables/useBrands.ts +42 -0
  24. package/app/composables/useCategories.ts +55 -1
  25. package/app/composables/useProduct.ts +5 -4
  26. package/app/composables/useProductAssociations.ts +35 -0
  27. package/app/composables/useProductImage.ts +35 -2
  28. package/app/composables/useProductVariants.ts +46 -0
  29. package/app/composables/useSearchListing.ts +16 -5
  30. package/app/composables/useSubcategoryTiles.ts +36 -0
  31. package/app/config/navigation.ts +9 -0
  32. package/app/config/palette.ts +1 -0
  33. package/app/config/quickActions.ts +137 -0
  34. package/app/config/themes.ts +1 -0
  35. package/app/interfaces/brand.ts +16 -0
  36. package/app/interfaces/category.ts +45 -0
  37. package/app/interfaces/image-slider.ts +18 -0
  38. package/app/interfaces/product-associations.ts +32 -0
  39. package/app/interfaces/product-detail.ts +6 -0
  40. package/app/interfaces/product-variants.ts +73 -0
  41. package/i18n/locales/de/account.json +17 -0
  42. package/i18n/locales/de/cart.json +5 -1
  43. package/i18n/locales/de/common.json +42 -2
  44. package/i18n/locales/de/editor.json +91 -0
  45. package/i18n/locales/de/product.json +48 -2
  46. package/i18n/locales/de/search.json +4 -2
  47. package/i18n/locales/en/account.json +17 -0
  48. package/i18n/locales/en/cart.json +4 -0
  49. package/i18n/locales/en/common.json +42 -2
  50. package/i18n/locales/en/editor.json +91 -0
  51. package/i18n/locales/en/product.json +47 -1
  52. package/i18n/locales/en/search.json +3 -1
  53. package/nuxt.config.ts +10 -0
  54. package/package.json +3 -1
  55. package/public/img/brands/revenexx.svg +39 -0
  56. package/server/api/brands.get.ts +27 -0
  57. package/server/api/categories/[slug]/subcategories.get.ts +280 -0
  58. package/server/api/product/[id]/associations.get.ts +27 -0
  59. package/server/api/product/[id]/variants.get.ts +27 -0
  60. package/server/api/quick-actions.get.ts +43 -0
  61. package/server/api/typesense/search.post.ts +116 -13
  62. package/server/data/categories.json +5 -0
  63. package/server/data/product-associations.json +44 -0
  64. package/server/data/product-detail.json +346 -0
  65. package/server/data/product-list.json +340 -0
  66. package/server/data/product-variant-models.json +75 -0
  67. package/server/interfaces/brand.ts +17 -0
  68. package/server/interfaces/product.ts +14 -0
  69. package/server/services/ApiBrandService.ts +110 -0
  70. package/server/services/ApiProductService.ts +43 -9
  71. package/server/services/LocalFileProductService.ts +200 -6
  72. package/server/services/MockBrandService.ts +52 -0
  73. package/server/utils/brandService.ts +24 -0
  74. package/server/utils/contentTenant.ts +67 -0
  75. package/server/utils/liveCatalog.ts +759 -46
  76. package/server/utils/productService.ts +6 -1
  77. package/server/utils/productsSchema.ts +5 -2
  78. package/server/utils/revenexxCredentials.ts +258 -0
  79. package/server/utils/revenexxSdk.ts +38 -47
@@ -0,0 +1,137 @@
1
+ import type { AccountNavLink } from "./navigation";
2
+
3
+ import { accountNavigation } from "./navigation";
4
+
5
+ /**
6
+ * The shortcut catalogue behind the "Schnellzugriffe" tile grid — the pool a
7
+ * content editor picks from in the `quick_actions` blokkli block.
8
+ *
9
+ * Routes, icons and titles are DERIVED from `accountNavigation` rather than
10
+ * restated here, so a renamed account page or a re-picked nav icon reaches the
11
+ * tiles for free. Only the two shortcuts that live outside the account nav
12
+ * (Schnellerfassung and the cart) and the tile descriptions are authored below.
13
+ *
14
+ * Only `implemented: true` routes are offered: a shortcut tile that lands on
15
+ * the coming-soon catch-all reads as a broken link, not as a roadmap teaser.
16
+ */
17
+
18
+ export interface QuickAction {
19
+ /** Stable id — also the option key in the block's `actions` checkboxes. */
20
+ readonly id: string;
21
+ readonly to: string;
22
+ /** Cover icon token or raw Solar basename, resolved by `useIcons()`. */
23
+ readonly icon: string;
24
+ /** i18n key for the tile title. */
25
+ readonly labelKey: string;
26
+ /** i18n key for the tile description. */
27
+ readonly descriptionKey: string;
28
+ }
29
+
30
+ /**
31
+ * Render AND editor order in one list: the blokkli checkboxes control sorts any
32
+ * selection back into the declared option order, so there is no authorable
33
+ * ordering — this array is the only place tile order is decided. It opens with
34
+ * the four shortcuts the live shop shows by default.
35
+ */
36
+ const QUICK_ACTION_ORDER: readonly string[] = [
37
+ "direct-order",
38
+ "order-lists",
39
+ "orders",
40
+ "cart",
41
+ "dashboard",
42
+ "carts",
43
+ "requisitions",
44
+ "approvals",
45
+ "cost-centers",
46
+ "workflows",
47
+ "profile",
48
+ "organization",
49
+ "team",
50
+ "preferences",
51
+ "addresses",
52
+ ];
53
+
54
+ /** The default selection: the four ordering shortcuts, in the order above. */
55
+ export const DEFAULT_QUICK_ACTION_IDS: readonly string[] = [
56
+ "direct-order",
57
+ "order-lists",
58
+ "orders",
59
+ "cart",
60
+ ];
61
+
62
+ /**
63
+ * Shortcuts with no `accountNavigation` counterpart. The direct-order tile is
64
+ * labelled "Schnellerfassung" rather than the page's own "Direktbestellung":
65
+ * the tile promises the action, the page titles the tool.
66
+ */
67
+ const STANDALONE_ACTIONS: Record<string, Omit<QuickAction, "id" | "descriptionKey">> = {
68
+ "direct-order": {
69
+ to: "/account/direct-order",
70
+ icon: "direct-order",
71
+ labelKey: "account.quickActions.directOrder.title",
72
+ },
73
+ // `header.cart`, not `common.header.cart`: locale keys are domain-nested,
74
+ // the file the namespace ships in is not part of the key path.
75
+ "cart": { to: "/cart", icon: "cart", labelKey: "header.cart" },
76
+ };
77
+
78
+ /**
79
+ * The account nav can reuse an icon across its groups because the groups keep
80
+ * them apart; the tile grid puts them side by side, where a repeat reads as a
81
+ * duplicate entry. Both overrides are also the more precise glyph.
82
+ */
83
+ const ICON_OVERRIDES: Record<string, string> = {
84
+ carts: "cart-large-2",
85
+ organization: "company",
86
+ };
87
+
88
+ /** `/account` → `dashboard`, `/account/cost-centers` → `cost-centers`. */
89
+ function actionIdForPath(path: string): string {
90
+ if (path === "/account") {
91
+ return "dashboard";
92
+ }
93
+ return path.replace(/^\/account\//, "").replace(/^\//, "");
94
+ }
95
+
96
+ /** `cost-centers` → `costCenters`, matching the camelCase i18n key style. */
97
+ function camelCase(id: string): string {
98
+ return id.replace(/-([a-z])/g, (_, letter: string) => letter.toUpperCase());
99
+ }
100
+
101
+ const implementedNavLinks: Record<string, AccountNavLink> = Object.fromEntries(
102
+ accountNavigation
103
+ .flatMap(group => group.links)
104
+ .filter(link => link.implemented === true)
105
+ .map(link => [actionIdForPath(link.to), link]),
106
+ );
107
+
108
+ /**
109
+ * An id in `QUICK_ACTION_ORDER` that resolves to neither source is dropped
110
+ * rather than thrown on — a missing account page must not take the whole layer
111
+ * down at import time. The unit test asserts the two lists stay in step.
112
+ */
113
+ export const quickActions: readonly QuickAction[] = QUICK_ACTION_ORDER.flatMap((id) => {
114
+ const source = STANDALONE_ACTIONS[id] ?? implementedNavLinks[id];
115
+ if (!source) {
116
+ return [];
117
+ }
118
+ return [{
119
+ id,
120
+ to: source.to,
121
+ icon: ICON_OVERRIDES[id] ?? source.icon,
122
+ labelKey: source.labelKey,
123
+ descriptionKey: `account.quickActions.${camelCase(id)}.description`,
124
+ }];
125
+ });
126
+
127
+ /** Every offered id, in render order. */
128
+ export const QUICK_ACTION_IDS: readonly string[] = quickActions.map(action => action.id);
129
+
130
+ /**
131
+ * Resolves the selected ids to their definitions, **in the order given** — the
132
+ * picker overlay stores the editor's own tile order, so the caller's sequence
133
+ * is the authored one and must survive. Unknown ids drop out.
134
+ */
135
+ export function resolveQuickActions(ids: readonly string[]): QuickAction[] {
136
+ return ids.flatMap(id => quickActions.find(action => action.id === id) ?? []);
137
+ }
@@ -17,4 +17,5 @@ export const themes: Theme[] = [
17
17
  { id: "ocean", name: "Ocean", colors: { primary: "sky", neutral: "slate" }, tokens: { radius: "0.5rem" }, icons: { weight: "outline" } },
18
18
  { id: "forest", name: "Forest", colors: { primary: "emerald", neutral: "zinc" }, tokens: { radius: "0.25rem" }, icons: { weight: "broken" } },
19
19
  { id: "blossom", name: "Blossom", colors: { primary: "rose", neutral: "zinc" }, tokens: { radius: "0.75rem" }, icons: { weight: "bold-duotone" } },
20
+ { id: "navy", name: "Navy", colors: { primary: "navy", neutral: "zinc" }, tokens: { radius: "0.375rem" }, icons: { weight: "linear" } },
20
21
  ];
@@ -0,0 +1,16 @@
1
+ /**
2
+ * A manufacturer of the catalogue, aggregated for the brand grid.
3
+ *
4
+ * There is no brand ENTITY on the platform: a brand is the flat `manufacturer`
5
+ * string carried by every product, and the article count is that string's
6
+ * facet count. `name` is therefore both the label and the exact filter value
7
+ * the search endpoint expects.
8
+ */
9
+ export interface ShopBrand {
10
+ /** Manufacturer name exactly as indexed — also the search filter value. */
11
+ readonly name: string;
12
+ /** Logo src the client can load as-is; null when the catalogue has none. */
13
+ readonly logo: string | null;
14
+ /** Articles carrying this manufacturer. */
15
+ readonly productCount: number;
16
+ }
@@ -0,0 +1,45 @@
1
+ /**
2
+ * One subcategory as the subcategory card grid needs it: the navigation data
3
+ * from the category tree, plus the two facts only the product index knows —
4
+ * how many products sit under it and what one of them looks like.
5
+ *
6
+ * Neither the mock nor the live category tree carries an image or a count
7
+ * (`ProductSubcategory` is label/slug/icon), so both are derived server-side
8
+ * by GET /api/categories/:slug/subcategories.
9
+ */
10
+ export interface SubcategoryTile {
11
+ readonly slug: string;
12
+ readonly label: string;
13
+ /** Cover icon token, resolved by the renderer via useIcons(). */
14
+ readonly icon: string;
15
+ readonly productCount: number;
16
+ /**
17
+ * One product's image from this subcategory — an absolute URL, a storage
18
+ * key or a mock image name; resolve it with useProductImage(). Null when
19
+ * the subcategory holds no products, or when the index is unreachable.
20
+ */
21
+ readonly image: string | null;
22
+ }
23
+
24
+ /** One subcategory link inside a catalog panel group. */
25
+ export interface CategoryPanelLink {
26
+ readonly label: string;
27
+ /** Route, already resolved through useLocalePath(). */
28
+ readonly to: string;
29
+ }
30
+
31
+ /**
32
+ * One top-level category as the header's catalog panel renders it: the category
33
+ * itself, a capped list of its subcategories, and how many it actually has.
34
+ *
35
+ * `links` is capped at CATEGORY_PANEL_SUBCATEGORY_LIMIT, so
36
+ * `totalSubcategoryCount > links.length` is what tells the panel to add the
37
+ * "all N groups" link — and the count that link shows.
38
+ */
39
+ export interface CategoryPanelGroup {
40
+ readonly label: string;
41
+ /** Route, already resolved through useLocalePath(). */
42
+ readonly to: string;
43
+ readonly links: readonly CategoryPanelLink[];
44
+ readonly totalSubcategoryCount: number;
45
+ }
@@ -0,0 +1,18 @@
1
+ /**
2
+ * One slide of `<UiMediaImageSlider>`.
3
+ *
4
+ * `title` and `cta` are never rendered — they compose the link's accessible
5
+ * name ("{title} — {cta}"), which is the only way a screen reader can tell the
6
+ * stacked banner links apart.
7
+ */
8
+ export interface ImageSlide {
9
+ /** Stable key; the media path doubles as one when slides come from blokkli. */
10
+ readonly key: string;
11
+ /** Image source for the default `<img>`; ignored when the `image` slot is used. */
12
+ readonly src?: string;
13
+ readonly alt: string;
14
+ /** Link target. Slides without one render as a plain, non-focusable element. */
15
+ readonly link?: string;
16
+ readonly title?: string;
17
+ readonly cta?: string;
18
+ }
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Product associations — the articles a PIM relates to this one, grouped by
3
+ * relation type: accessories, mandatory accessories, spare parts, follow-up
4
+ * articles, and whatever else a tenant models.
5
+ *
6
+ * Deliberately project-neutral: the group carries a localised label and a
7
+ * plain `isMandatory` flag, so the storefront never has to know a tenant's
8
+ * association vocabulary. Mapping a tenant's type codes onto that flag is the
9
+ * live service's job.
10
+ */
11
+
12
+ export interface ProductAssociationItem {
13
+ readonly id: string;
14
+ readonly sku: string;
15
+ readonly name: string;
16
+ /** Raw catalogue image value — resolved by ProductMediaImage, may be empty. */
17
+ readonly image: string;
18
+ }
19
+
20
+ export interface ProductAssociationGroup {
21
+ /** Association type code — tenant vocabulary, used only as a key. */
22
+ readonly code: string;
23
+ /** Localised type label ("Zubehör"). */
24
+ readonly label: string;
25
+ /** These articles have to be ordered along with the product. */
26
+ readonly isMandatory: boolean;
27
+ readonly items: readonly ProductAssociationItem[];
28
+ }
29
+
30
+ export interface ProductAssociations {
31
+ readonly groups: readonly ProductAssociationGroup[];
32
+ }
@@ -4,6 +4,12 @@ export interface ProductDetailProduct {
4
4
  name: string;
5
5
  sku: string;
6
6
  manufacturer: string;
7
+ /**
8
+ * Manufacturer logo src, loadable as-is. Optional: only a catalogue that
9
+ * carries the logo attribute reports one, and the identity block renders
10
+ * nothing when it is absent.
11
+ */
12
+ manufacturerLogo?: string | null;
7
13
  createdAt: string;
8
14
  updatedAt: string;
9
15
  deletedAt: string | null;
@@ -0,0 +1,73 @@
1
+ /**
2
+ * Product variants — the sibling articles of one PIM model.
3
+ *
4
+ * A model (e.g. "Zentralscheibe") groups articles that differ in one or more
5
+ * distinguishing attributes ("axes", e.g. Ausführung). The storefront renders
6
+ * them as a table on the product detail page: one column per axis, plus the
7
+ * article number, name, price and availability of each sibling.
8
+ *
9
+ * Deliberately project-neutral: axis codes and labels are resolved by the
10
+ * service (ERP/PIM attribute metadata), so the UI never knows a tenant's
11
+ * attribute vocabulary.
12
+ */
13
+
14
+ export interface ProductVariantAxis {
15
+ /** Attribute code — the key each variant's `values` is keyed by. */
16
+ readonly code: string;
17
+ /** Localised label, used for the column header and the filter trigger. */
18
+ readonly label: string;
19
+ /** Unit suffix for metric axes; `null` for plain and select attributes. */
20
+ readonly unit: string | null;
21
+ }
22
+
23
+ /** The grouping product ("model" / parent). Not orderable itself. */
24
+ export interface ProductVariantModel {
25
+ readonly id: string;
26
+ readonly sku: string;
27
+ readonly name: string;
28
+ }
29
+
30
+ export interface ProductVariant {
31
+ readonly id: string;
32
+ readonly sku: string;
33
+ readonly name: string;
34
+ readonly available: boolean;
35
+ /** Sales unit, feeding the "price per unit" header. `null` → plain "Price". */
36
+ readonly orderUnit: string | null;
37
+ /** True for the article the page is currently showing. */
38
+ readonly isSelf: boolean;
39
+ /** Axis code → localised value. */
40
+ readonly values: Readonly<Record<string, string>>;
41
+ }
42
+
43
+ export interface ProductVariants {
44
+ readonly variants: readonly ProductVariant[];
45
+ readonly axes: readonly ProductVariantAxis[];
46
+ readonly model: ProductVariantModel | null;
47
+ }
48
+
49
+ /**
50
+ * A variant as the table renders it: the payload row plus the name with the
51
+ * model's common prefix removed, so a column of forty articles does not repeat
52
+ * "Plus 55 Zentralscheibe" on every line.
53
+ */
54
+ export interface ProductVariantRow extends ProductVariant {
55
+ readonly shortName: string;
56
+ }
57
+
58
+ /**
59
+ * Which column the table is sorted by. A descriptor rather than a plain string
60
+ * because an axis column is identified by its code, and the axis set is tenant
61
+ * data that could collide with "sku" or "name".
62
+ */
63
+ export type ProductVariantSort =
64
+ | { readonly kind: "sku" }
65
+ | { readonly kind: "name" }
66
+ | { readonly kind: "axis"; readonly code: string };
67
+
68
+ /** One removable pill in the active-filter row. */
69
+ export interface ProductVariantFilterChip {
70
+ readonly key: string;
71
+ readonly label: string;
72
+ readonly remove: () => void;
73
+ }
@@ -240,6 +240,23 @@
240
240
  "noRequisitions": "Keine offenen Anforderungen.",
241
241
  "noBudgets": "Keine Budgets hinterlegt."
242
242
  },
243
+ "quickActions": {
244
+ "directOrder": { "title": "Schnellerfassung", "description": "Artikelnummern direkt erfassen" },
245
+ "orderLists": { "description": "Wiederkehrende Bedarfe" },
246
+ "orders": { "description": "Status & Nachbestellung" },
247
+ "cart": { "description": "Zur Kasse" },
248
+ "dashboard": { "description": "Ihr Konto auf einen Blick" },
249
+ "carts": { "description": "Gespeicherte Warenkörbe" },
250
+ "requisitions": { "description": "Freigaben anfordern und verfolgen" },
251
+ "approvals": { "description": "Offene Freigaben bearbeiten" },
252
+ "costCenters": { "description": "Budgets und Zuordnung" },
253
+ "workflows": { "description": "Freigabeprozesse verwalten" },
254
+ "profile": { "description": "Stammdaten und Passwort" },
255
+ "organization": { "description": "Ihre Organisation verwalten" },
256
+ "team": { "description": "Zugänge und Rollen" },
257
+ "preferences": { "description": "Vorgaben für Ihre Bestellungen" },
258
+ "addresses": { "description": "Liefer- und Rechnungsadressen" }
259
+ },
243
260
  "comingSoon": {
244
261
  "title": "In Entwicklung",
245
262
  "description": "Dieser Bereich ist Teil der Produkt-Roadmap und wird hier entstehen.",
@@ -133,6 +133,10 @@
133
133
  "add": "Hinzufügen",
134
134
  "added": "{quantity}× {name} hinzugefügt"
135
135
  },
136
+ "quickOrder": {
137
+ "title": "Schnell zur Bestellung",
138
+ "description": "Artikelnummer oder Artikelname eingeben, Menge wählen und direkt in den Warenkorb legen."
139
+ },
136
140
  "requisition": {
137
141
  "title": "Bestellanforderung",
138
142
  "meta": "Angefordert von {name} am {date}",
@@ -244,7 +248,7 @@
244
248
  },
245
249
  "export": {
246
250
  "columns": {
247
- "sku": "Artikel-Nr",
251
+ "sku": "Artikel-Nr.",
248
252
  "name": "Bezeichnung",
249
253
  "dimension": "Dimension",
250
254
  "quantity": "Menge",
@@ -10,7 +10,13 @@
10
10
  "services": "Services",
11
11
  "knowledge": "Wissen",
12
12
  "mainNavigation": "Hauptnavigation",
13
- "backToShop": "Zurück zum Shop"
13
+ "backToShop": "Zurück zum Shop",
14
+ "catalog": {
15
+ "loading": "Warengruppen werden geladen…",
16
+ "showAllGroups": "alle {count} Gruppen",
17
+ "browseAll": "Gesamtes Sortiment durchsuchen",
18
+ "groupCount": "{count} Warengruppen"
19
+ }
14
20
  },
15
21
  "summary": {
16
22
  "subtotal": "Zwischensumme",
@@ -30,7 +36,30 @@
30
36
  "appName": "Cover",
31
37
  "footer": {
32
38
  "tagline": "B2B-Lösungen für moderne Unternehmen.",
33
- "copyright": "© {year} Cover Corp — Alle Rechte vorbehalten."
39
+ "copyright": "© {year} Cover Corp — Alle Rechte vorbehalten.",
40
+ "columns": {
41
+ "products": {
42
+ "heading": "Produkte",
43
+ "all": "Alle Produkte",
44
+ "new": "Neuheiten",
45
+ "featured": "Empfohlen",
46
+ "catalog": "Katalog"
47
+ },
48
+ "account": {
49
+ "heading": "Konto",
50
+ "orders": "Bestellungen",
51
+ "invoices": "Rechnungen",
52
+ "lists": "Listen",
53
+ "contracts": "Verträge"
54
+ },
55
+ "support": {
56
+ "heading": "Support",
57
+ "contact": "Kontakt",
58
+ "docs": "Dokumentation",
59
+ "status": "Systemstatus",
60
+ "quote": "Angebot anfordern"
61
+ }
62
+ }
34
63
  },
35
64
  "topbar": {
36
65
  "freeShipping": "Versandkostenfrei ab 100 € Bestellwert",
@@ -76,5 +105,16 @@
76
105
  "placeholder": "Datum wählen …",
77
106
  "clear": "Zurücksetzen"
78
107
  }
108
+ },
109
+ "slider": {
110
+ "region": "Aktionen",
111
+ "slide": "Folie {index}",
112
+ "previous": "Vorherige Folie",
113
+ "next": "Nächste Folie"
114
+ },
115
+ "legal": {
116
+ "privacy": "Datenschutz",
117
+ "terms": "AGB",
118
+ "cookies": "Cookie-Richtlinie"
79
119
  }
80
120
  }
@@ -3,6 +3,97 @@
3
3
  "provider": {
4
4
  "editLabel": "Seite bearbeiten"
5
5
  },
6
+ "pages": {
7
+ "title": "Seiten",
8
+ "description": "Seiten dieses Mandanten. Eine Seite auswählen, um sie im Editor zu öffnen.",
9
+ "searchPlaceholder": "Nach Titel oder Slug suchen …",
10
+ "columns": {
11
+ "title": "Titel",
12
+ "slug": "Slug",
13
+ "status": "Status",
14
+ "updated": "Geändert"
15
+ },
16
+ "edit": "Bearbeiten",
17
+ "view": "Ansehen",
18
+ "reload": "Neu laden",
19
+ "empty": "Keine Seiten gefunden.",
20
+ "count": "{count} Seiten",
21
+ "mode": {
22
+ "live": "Live-API",
23
+ "mock": "Lokale Demodaten"
24
+ },
25
+ "tenant": {
26
+ "label": "Mandant",
27
+ "hint": "Inhalte, Navigation und Theme-Einstellungen stammen aus diesem Mandanten."
28
+ },
29
+ "create": {
30
+ "button": "Neue Seite",
31
+ "title": "Neue Seite anlegen",
32
+ "fields": {
33
+ "title": "Titel",
34
+ "slug": "Slug",
35
+ "bundle": "Bundle"
36
+ },
37
+ "placeholders": {
38
+ "title": "Über uns",
39
+ "slug": "ueber-uns"
40
+ },
41
+ "slugHelp": "Kleinbuchstaben, Zahlen, „-“ und „/“ für verschachtelte Pfade.",
42
+ "bundleHelp": "Lokal immer als „standard“ behandelt; der Wert greift erst, wenn die Seite übernommen und von der Live-API ausgeliefert wird.",
43
+ "warnings": {
44
+ "routeSlug": "Dieser Slug gehört einer eigenen Route — die Seite ist unter diesem Pfad nicht direkt erreichbar."
45
+ },
46
+ "errors": {
47
+ "duplicate": "Es gibt bereits eine Seite mit diesem Slug.",
48
+ "invalidSlug": "Nur Kleinbuchstaben und Zahlen, getrennt durch „-“ oder „/“."
49
+ },
50
+ "cancel": "Abbrechen",
51
+ "submit": "Anlegen und bearbeiten",
52
+ "saved": "Seite angelegt.",
53
+ "error": "Die Seite konnte nicht angelegt werden."
54
+ },
55
+ "localOverride": {
56
+ "badge": "lokale Kopie",
57
+ "baselineBadge": "committete Basis",
58
+ "hint": "Lokale Arbeitskopie {file} (geändert {modified}) überschreibt die committete Basis. Datei löschen = zurücksetzen, über {baseFile} kopieren = übernehmen.",
59
+ "invalid": "{file} ist kein gültiges JSON und wird ignoriert — angezeigt wird die committete Basis.",
60
+ "baselineHint": "Angezeigt wird die committete Basis. Die lokale Arbeitskopie {file} bleibt unangetastet und ist schreibgeschützt — zum Bearbeiten zurück auf die Arbeitskopie wechseln.",
61
+ "source": {
62
+ "label": "Inhaltsquelle",
63
+ "local": "Lokale Arbeitskopie",
64
+ "baseline": "Committete Basis"
65
+ }
66
+ },
67
+ "liveData": {
68
+ "label": "Katalogdaten live",
69
+ "hint": "Produkte, Kategorien, Preise und Bestände kommen von der API dieses Mandanten statt aus den Demodaten.",
70
+ "hintFrom": "Produkte, Kategorien, Preise und Bestände kommen aus dem Gateway-Mandanten „{gateway}“ statt aus den Demodaten.",
71
+ "unavailable": "Für „{tenant}“ lassen sich keine API-Zugangsdaten auflösen — weder ein eigener Eintrag (NUXT_REVENEXX_TENANTS) noch das Env-Paar (NUXT_REVENEXX_TENANT / NUXT_REVENEXX_API_KEY)."
72
+ }
73
+ },
74
+ "canvas": {
75
+ "noData": "Keine Daten",
76
+ "productMissing": {
77
+ "title": "Beispielprodukt nicht gefunden",
78
+ "description": "Die hinterlegte Produkt-ID „{id}“ existiert im Katalog dieses Mandanten nicht — die Vorschau bleibt daher leer. Auf einer echten Produkt-URL kommt das Produkt aus dem Pfad.",
79
+ "descriptionNoId": "Für diesen Mandanten liefert der Katalog kein Produkt für die Vorschau. Auf einer echten Produkt-URL kommt das Produkt aus dem Pfad."
80
+ },
81
+ "productFallback": {
82
+ "title": "Vorschau zeigt ein anderes Produkt",
83
+ "description": "Die hinterlegte Produkt-ID „{id}“ existiert im aktiven Katalog nicht — stattdessen wird „{name}“ angezeigt. Für die Vorschau des hinterlegten Produkts den passenden Mandanten wählen und „Katalogdaten live“ einschalten."
84
+ },
85
+ "blocks": {
86
+ "product_gallery": "Galerie",
87
+ "product_identity": "Produktkopf",
88
+ "product_stock": "Verfügbarkeit",
89
+ "product_add_to_cart": "In den Warenkorb",
90
+ "product_pricing": "Staffelpreise",
91
+ "product_description": "Beschreibung",
92
+ "product_specifications": "Spezifikationen",
93
+ "product_variants": "Varianten",
94
+ "product_associations": "Zubehör & Verweise"
95
+ }
96
+ },
6
97
  "appearance": {
7
98
  "colorScheme": {
8
99
  "title": "Farbschema"
@@ -1,8 +1,32 @@
1
1
  {
2
2
  "product": {
3
- "sku": "SKU",
3
+ "sku": "Artikelnummer",
4
4
  "description": "Beschreibung",
5
5
  "specifications": "Technische Daten",
6
+ "associations": {
7
+ "mandatoryNote": "muss mitbestellt werden"
8
+ },
9
+ "variants": {
10
+ "title": "Varianten",
11
+ "count": "{count} Variante | {count} Varianten",
12
+ "countFiltered": "{shown} von {total}",
13
+ "filterSkuAria": "Nach Artikelnummer filtern",
14
+ "availableOnly": "Nur verfügbare",
15
+ "chipAvailable": "Verfügbar",
16
+ "clearAxis": "Auswahl löschen",
17
+ "resetAll": "Alle zurücksetzen",
18
+ "reset": "Zurücksetzen",
19
+ "empty": "Keine Variante passt zu diesen Filtern.",
20
+ "notOrderable": "Nicht bestellbar",
21
+ "addToCartAria": "In den Warenkorb: {sku}",
22
+ "sortBy": "Nach {column} sortieren",
23
+ "showAll": "Alle {count} Varianten anzeigen",
24
+ "columns": {
25
+ "name": "Bezeichnung",
26
+ "price": "Preis",
27
+ "availability": "Verfügbarkeit"
28
+ }
29
+ },
6
30
  "pricing": {
7
31
  "volumePricing": "Staffelpreise",
8
32
  "minQuantity": "Mindestmenge",
@@ -20,7 +44,10 @@
20
44
  },
21
45
  "price": {
22
46
  "from": "ab",
23
- "onRequest": "Preis auf Anfrage"
47
+ "onRequest": "Preis auf Anfrage",
48
+ "inclTax": "inkl. MwSt.",
49
+ "exclTax": "zzgl. MwSt.",
50
+ "volume": "Staffelpreise verfügbar"
24
51
  },
25
52
  "actions": {
26
53
  "info": "Info",
@@ -66,6 +93,25 @@
66
93
  "delivery": "Lieferung in 1–3 Werktagen",
67
94
  "paymentTerms": "Kauf auf Rechnung — 30 Tage netto",
68
95
  "volume": "Staffelpreise für Mengenbestellungen"
96
+ },
97
+ "grid": {
98
+ "count": "{count} Artikel | {count} Artikel",
99
+ "error": "Produkte konnten nicht geladen werden",
100
+ "noSelection": {
101
+ "title": "Keine Kategorie oder Marke gewählt",
102
+ "description": "Wählen Sie in den Block-Optionen eine Kategorie oder Marke aus."
103
+ },
104
+ "empty": {
105
+ "title": "Keine Produkte gefunden",
106
+ "description": "Für diese Auswahl sind derzeit keine Produkte verfügbar."
107
+ }
108
+ },
109
+ "brandGrid": {
110
+ "error": "Marken konnten nicht geladen werden",
111
+ "empty": {
112
+ "title": "Keine Marken gefunden",
113
+ "description": "Im Sortiment ist derzeit kein Hersteller hinterlegt."
114
+ }
69
115
  }
70
116
  }
71
117
  }
@@ -1,13 +1,14 @@
1
1
  {
2
2
  "search": {
3
3
  "input": {
4
- "placeholder": "Produkte, SKUs suchen...",
4
+ "placeholder": "Produkte, Artikelnummern suchen …",
5
5
  "scan": "Code scannen",
6
6
  "scanTitle": "Barcode / QR-Code scannen",
7
7
  "scanHint": "Richten Sie die Kamera auf einen Barcode oder QR-Code — das Ergebnis wird als Suchbegriff übernommen."
8
8
  },
9
9
  "results": {
10
10
  "title": "Suchergebnisse für \"{query}\"",
11
+ "catalogTitle": "Katalog",
11
12
  "count": "{count} Ergebnis | {count} Ergebnisse",
12
13
  "error": "Die Suche ist fehlgeschlagen",
13
14
  "emptyTitle": "Keine Treffer",
@@ -50,7 +51,8 @@
50
51
  },
51
52
  "category": {
52
53
  "searchPlaceholder": "In dieser Kategorie suchen…",
53
- "allProducts": "Alle Produkte"
54
+ "allProducts": "Alle Produkte",
55
+ "productCount": "{count} Produkt | {count} Produkte"
54
56
  }
55
57
  }
56
58
  }