Move filterByBounds checkbox into SelectionPanel
Some checks failed
Build Docker Image / build (push) Has been cancelled

This commit is contained in:
Ruslan Bakiev
2026-01-26 14:56:40 +07:00
parent 3211c5a881
commit 5ca995ebcc
3 changed files with 14 additions and 18 deletions

View File

@@ -9,11 +9,9 @@
:items="currentSelectionItems"
:hovered-id="hoveredItemId ?? undefined"
:show-panel="showPanel"
:filter-by-bounds="filterByBounds"
:related-points="relatedPoints"
@select="onMapSelect"
@bounds-change="onBoundsChange"
@update:filter-by-bounds="filterByBounds = $event"
>
<!-- Panel slot - shows selection list OR info OR quote results -->
<template #panel>
@@ -27,10 +25,12 @@
:loading="selectionLoading"
:loading-more="selectionLoadingMore"
:has-more="selectionHasMore && !filterByBounds"
:filter-by-bounds="filterByBounds"
@select="onSelectItem"
@close="onClosePanel"
@load-more="onLoadMore"
@hover="onHoverItem"
@update:filter-by-bounds="filterByBounds = $event"
/>
<!-- Info mode: show detailed info about selected entity -->