feat: 사령턴 대상 선택 정보를 보강

도시·수도 지도와 명령별 국가/장수 상세 목록을 추가한다.\nRef 금액 프리셋과 현재 조건 기반 우선 정렬을 예약 입력에 연결한다.
This commit is contained in:
2026-08-18 13:12:24 +00:00
parent e4c4bd946f
commit 7da67da40f
13 changed files with 1292 additions and 129 deletions
@@ -72,6 +72,7 @@ const props = withDefaults(
detailMode?: boolean;
fitContainer?: boolean;
showCurrentCityMarker?: boolean;
readonly?: boolean;
}>(),
{
// Vue casts an absent Boolean prop to false unless undefined is an explicit default.
@@ -404,6 +405,7 @@ const setHoveredCity = (cityId: number | null) => {
};
const selectCity = (cityId: number) => {
if (props.readonly) return;
emit('select-city', cityId);
if (props.selectedCityId === undefined) {
mapStore.setSelectedCity(cityId);
@@ -443,6 +445,7 @@ const selectCity = (cityId: number) => {
:map-scale="mapScale"
:show-name="showCityName"
:select-only="props.selectedCityId !== undefined"
:readonly="props.readonly"
v-bind="detailProps"
@hover="setHoveredCity"
@leave="setHoveredCity(null)"