gendesign/frontend/src/lib/mocks/parcels-bbox.json
lekss361 0084773abf feat(sf-fe-a2): EntryMap + MapFilterBar + ParcelDrawer + RecentParcels + ParcelLegend
- EntryMap: Leaflet карта ЕКБ с CircleMarker парцелей, bbox-aware refetch (TanStack Query),
  click-to-select, deselect on backdrop, isFetching indicator
- MapFilterBar: chip-фильтры (status/area/vri) + district select + counter, bbox-linked
  counter через FilterBarBridge без ремаунта карты
- ParcelDrawer: slide-in panel 360px — 4 KPI (status/area/district/vri) + coords +
  CTA «Открыть анализ» -> /site-finder/analysis/[cad], fallback ПКК Росреестр
- RecentParcels: TanStack Query hook с localStorage fallback (gd_recent_parcels),
  merges B2 server list + local-only items; empty state + hover effects
- ParcelLegend: status color legend (free/in_progress/favorite) + STATUS_COLORS export
  reused in EntryMap markers
- site-finder-api.ts: useParcelsBboxQuery + useRecentParcels hooks, mock fallback via
  MOCK_PARCELS_BBOX / MOCK_RECENT_PARCELS; getLocalRecentParcels / addLocalRecentParcel
- parcels-bbox.json: 20 ЕКБ-парцелей фикстура (6 районов, все статусы, разные ВРИ)
- page.tsx: заменены MapPlaceholder + SidebarPlaceholder на реальные компоненты
2026-05-18 01:12:32 +03:00

202 lines
5.3 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[
{
"cad_num": "66:41:0101001:10",
"address": "Екатеринбург, ул. Ленина, 1",
"area_ha": 0.45,
"status": "free",
"district": "Ленинский",
"vri": "multistory",
"lat": 56.8389,
"lon": 60.6057
},
{
"cad_num": "66:41:0101002:23",
"address": "Екатеринбург, ул. Малышева, 51",
"area_ha": 0.82,
"status": "in_progress",
"district": "Ленинский",
"vri": "multistory",
"lat": 56.8377,
"lon": 60.6121
},
{
"cad_num": "66:41:0201001:5",
"address": "Екатеринбург, ул. Луначарского, 14",
"area_ha": 1.2,
"status": "free",
"district": "Верх-Исетский",
"vri": "mixed",
"lat": 56.8451,
"lon": 60.5987
},
{
"cad_num": "66:41:0301001:8",
"address": "Екатеринбург, пр. Космонавтов, 3",
"area_ha": 0.67,
"status": "favorite",
"district": "Орджоникидзевский",
"vri": "multistory",
"lat": 56.8762,
"lon": 60.6214
},
{
"cad_num": "66:41:0302001:12",
"address": "Екатеринбург, ул. Победы, 80",
"area_ha": 0.33,
"status": "free",
"district": "Орджоникидзевский",
"vri": "individual",
"lat": 56.8801,
"lon": 60.6189
},
{
"cad_num": "66:41:0401001:17",
"address": "Екатеринбург, ул. Амундсена, 107",
"area_ha": 1.85,
"status": "free",
"district": "Чкаловский",
"vri": "multistory",
"lat": 56.7998,
"lon": 60.6342
},
{
"cad_num": "66:41:0402001:31",
"address": "Екатеринбург, ул. Щербакова, 4",
"area_ha": 0.54,
"status": "in_progress",
"district": "Чкаловский",
"vri": "mixed",
"lat": 56.8021,
"lon": 60.6501
},
{
"cad_num": "66:41:0501001:6",
"address": "Екатеринбург, ул. Белинского, 200",
"area_ha": 0.91,
"status": "free",
"district": "Ленинский",
"vri": "multistory",
"lat": 56.8278,
"lon": 60.6398
},
{
"cad_num": "66:41:0601001:44",
"address": "Екатеринбург, ул. Надеждинская, 12",
"area_ha": 2.1,
"status": "free",
"district": "Кировский",
"vri": "multistory",
"lat": 56.8491,
"lon": 60.5781
},
{
"cad_num": "66:41:0602001:9",
"address": "Екатеринбург, ул. Тверитина, 38",
"area_ha": 0.72,
"status": "favorite",
"district": "Кировский",
"vri": "mixed",
"lat": 56.8532,
"lon": 60.5834
},
{
"cad_num": "66:41:0701001:18",
"address": "Екатеринбург, ул. Академика Постовского, 15",
"area_ha": 0.48,
"status": "free",
"district": "Октябрьский",
"vri": "multistory",
"lat": 56.8187,
"lon": 60.5921
},
{
"cad_num": "66:41:0702001:27",
"address": "Екатеринбург, ул. Начдива Онуфриева, 2а",
"area_ha": 3.4,
"status": "free",
"district": "Октябрьский",
"vri": "multistory",
"lat": 56.8112,
"lon": 60.5812
},
{
"cad_num": "66:41:0801001:55",
"address": "Екатеринбург, ул. Радищева, 33",
"area_ha": 0.61,
"status": "in_progress",
"district": "Ленинский",
"vri": "office",
"lat": 56.8348,
"lon": 60.6234
},
{
"cad_num": "66:41:0802001:11",
"address": "Екатеринбург, ул. Сакко и Ванцетти, 67",
"area_ha": 0.38,
"status": "free",
"district": "Ленинский",
"vri": "mixed",
"lat": 56.8363,
"lon": 60.6177
},
{
"cad_num": "66:41:0901001:7",
"address": "Екатеринбург, ул. Ботаническая, 11",
"area_ha": 1.54,
"status": "free",
"district": "Чкаловский",
"vri": "multistory",
"lat": 56.7892,
"lon": 60.6498
},
{
"cad_num": "66:41:0902001:22",
"address": "Екатеринбург, пр. Латвийский, 12",
"area_ha": 0.83,
"status": "favorite",
"district": "Чкаловский",
"vri": "multistory",
"lat": 56.7934,
"lon": 60.6541
},
{
"cad_num": "66:41:1001001:3",
"address": "Екатеринбург, ул. Краснолесья, 26",
"area_ha": 2.67,
"status": "free",
"district": "Октябрьский",
"vri": "multistory",
"lat": 56.7812,
"lon": 60.5698
},
{
"cad_num": "66:41:1002001:14",
"address": "Екатеринбург, ул. Ясная, 30",
"area_ha": 0.59,
"status": "in_progress",
"district": "Октябрьский",
"vri": "mixed",
"lat": 56.7856,
"lon": 60.5742
},
{
"cad_num": "66:41:1101001:42",
"address": "Екатеринбург, ул. Крестинского, 46",
"area_ha": 1.12,
"status": "free",
"district": "Верх-Исетский",
"vri": "multistory",
"lat": 56.8578,
"lon": 60.5634
},
{
"cad_num": "66:41:1102001:19",
"address": "Екатеринбург, ул. Новостроя, 8",
"area_ha": 0.76,
"status": "free",
"district": "Верх-Исетский",
"vri": "individual",
"lat": 56.8621,
"lon": 60.5589
}
]