From 749f15131b7a0bdc18f96812f34d17c606729207 Mon Sep 17 00:00:00 2001 From: Ruslan Bakiev <572431+veikab@users.noreply.github.com> Date: Thu, 22 Jan 2026 18:41:38 +0700 Subject: [PATCH] Add map view toggle for fullWidthMap mode - Add MapViewMode type (offers/hubs/suppliers) with cookie storage - Add view toggle button group on full-width map - Update clusterNodeType and mapPointColor based on selected view - Add translations for view options --- app/components/page/CatalogPage.vue | 29 +++++++++++++++++++++++++++++ app/composables/useCatalogSearch.ts | 16 ++++++++++++++++ app/pages/catalog/index.vue | 19 +++++++++++++++---- i18n/locales/en/catalog.json | 7 +++++++ i18n/locales/ru/catalog.json | 7 +++++++ 5 files changed, 74 insertions(+), 4 deletions(-) diff --git a/app/components/page/CatalogPage.vue b/app/components/page/CatalogPage.vue index 0c88eae..c89975c 100644 --- a/app/components/page/CatalogPage.vue +++ b/app/components/page/CatalogPage.vue @@ -36,6 +36,32 @@