import{r as s,z as a}from"./vendor-s2rfM_Vj.js";import{c as o}from"./newtab-BWIjnu6l.js";import{G as e}from"./Index-DDcvGMwD.js";import{S as n}from"./t-r-vendor-gn7FMrPE.js";const i=({targetNav:i,setTargetNav:r})=>{const{navigationInfo:t}=o(),l=s.useMemo((()=>t.map((s=>({label:s.name,value:s.id,icon:s.iconClass}))).slice(0,-1)),[t]);return a.jsxs(e,{children:[a.jsxs("span",{children:[a.jsx("i",{className:"ovo nav",style:{marginRight:4}}),"目标分组："]}),a.jsx(n,{value:null==i?void 0:i.id,onChange:s=>r(t.find((a=>a.id===s))),style:{width:100},size:"small",options:l})]})};export{i as G};
