@props([ 'type' => 'dropdown', // 'dropdown' (상단 액션바) 또는 'context' (우클릭 마우스 메뉴) 'prefix' => 'modal', // 'modal', 'modal-pc', 'modal-mobile', 'page' ]) @php $isContext = ($type === 'context'); // 계층형 표준 네이밍 매핑 (JS evaluateMenuRules/updateActionBar와 100% 일치) $wrapId = $prefix . '-act-dropdown-group'; $btnId = $prefix . '-act-toggle-btn'; $menuId = $isContext ? ($prefix . '-context-menu') : ($prefix . '-act-dropdown-menu'); $headerId = $prefix . '-act-dropdown-header'; $actId = $isContext ? 'ctx' : ($prefix . '-act'); $menuClasses = $isContext ? 'dropdown-menu shadow-lg py-1 border-0 common-rounded-card' : 'dropdown-menu shadow border-0 py-1 common-rounded-dropdown'; // 컨텍스트 메뉴는 마우스 좌표 이동을 위해 position: fixed 유지 $menuStyle = $isContext ? 'position: fixed; z-index: 10095; display: none; min-width: 205px;' : 'min-width: 205px; z-index: 1060;'; @endphp @if(!$isContext)