From 5ca995ebcc01173312cb52a0a44ddaceee435a0b Mon Sep 17 00:00:00 2001 From: Ruslan Bakiev Date: Mon, 26 Jan 2026 14:56:40 +0700 Subject: [PATCH] Move filterByBounds checkbox into SelectionPanel --- app/components/catalog/SelectionPanel.vue | 13 ++++++++++++- app/components/page/CatalogPage.vue | 15 --------------- app/pages/catalog/index.vue | 4 ++-- 3 files changed, 14 insertions(+), 18 deletions(-) diff --git a/app/components/catalog/SelectionPanel.vue b/app/components/catalog/SelectionPanel.vue index a30de0e..08560b1 100644 --- a/app/components/catalog/SelectionPanel.vue +++ b/app/components/catalog/SelectionPanel.vue @@ -12,8 +12,17 @@ v-model="searchQuery" type="text" :placeholder="searchPlaceholder" - class="input input-sm w-full bg-white/10 border-white/20 text-white placeholder:text-white/50" + class="input input-sm w-full bg-white/10 border-white/20 text-white placeholder:text-white/50 mb-2" /> + @@ -107,11 +116,13 @@ const props = defineProps<{ loading?: boolean loadingMore?: boolean hasMore?: boolean + filterByBounds?: boolean }>() const emit = defineEmits<{ 'select': [type: string, item: Item] 'close': [] + 'update:filter-by-bounds': [value: boolean] 'load-more': [] 'hover': [uuid: string | null] }>() diff --git a/app/components/page/CatalogPage.vue b/app/components/page/CatalogPage.vue index 4ea2bd1..3f8017b 100644 --- a/app/components/page/CatalogPage.vue +++ b/app/components/page/CatalogPage.vue @@ -48,18 +48,6 @@ {{ $t('catalog.list') }} - -