import{aG as d,aA as m,bB as e,bm as _,k as c,b3 as f,aF as a,a9 as b,aa as u,ab as w,aE as r,bj as p,ac as I}from"./index-DrvLDslf.js";/* empty css             *//* empty css                    *//* empty css                     *//* empty css                  */import"./el-tooltip-l0sNRNKZ.js";/* empty css                    *//* empty css                        *//* empty css               */import{C as T}from"./ConfigPageBase-CPF7i-FB.js";/* empty css               *//* empty css                *//* empty css                  */import"./PermissionGuard-BxagL6-4.js";import"./reflection-Dr3WM5Rz.js";const G=d({__name:"TrafficRuleView",setup(h){return(x,D)=>{const t=w,o=u,l=b,n=I;return f(),m(T,{section:"traffic",title:"交通管制规则",description:"路口策略、区域互斥、动态让行（TrafficRule）",defaults:_(c)},{default:e(({payload:i})=>[a(n,{"model-value":"ix"},{default:e(()=>[a(l,{name:"ix",label:"路口策略"},{default:e(()=>[a(o,{data:i.intersections,size:"small"},{default:e(()=>[a(t,{label:"ID",prop:"id",width:"100"}),a(t,{label:"站点 IDs",prop:"siteIds"},{default:e(s=>[r(p(s.row.siteIds.join(", ")),1)]),_:1}),a(t,{label:"模式",prop:"mode",width:"100"})]),_:1},8,["data"])]),_:2},1024),a(l,{name:"mz",label:"区域互斥"},{default:e(()=>[a(o,{data:i.mutex,size:"small"},{default:e(()=>[a(t,{label:"ID",prop:"id",width:"100"}),a(t,{label:"区域 IDs",prop:"zoneIds"},{default:e(s=>[r(p(s.row.zoneIds.join(", ")),1)]),_:1})]),_:1},8,["data"])]),_:2},1024),a(l,{name:"yd",label:"动态让行"},{default:e(()=>[a(o,{data:i.yields,size:"small"},{default:e(()=>[a(t,{label:"ID",prop:"id",width:"100"}),a(t,{label:"From",prop:"from",width:"140"}),a(t,{label:"To",prop:"to",width:"140"}),a(t,{label:"条件",prop:"condition"})]),_:1},8,["data"])]),_:2},1024)]),_:2},1024)]),_:1},8,["defaults"])}}});export{G as default};
