import{aE as d,ay as m,bD as e,bn as _,b4 as c,aD as a,ab as f,a8 as b,a9 as u,aa as w,aC as r,bk as p,j as I}from"./index-C6ULY2Si.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-DmCcZeia.js";/* empty css               *//* empty css                *//* empty css                  */import"./PermissionGuard-DIZkcwyW.js";/* empty css                 */import"./reflection-CKXyOCM_.js";const S=d({__name:"TrafficRuleView",setup(D){return(h,x)=>{const t=w,o=u,l=b,n=f;return c(),m(T,{section:"traffic",title:"交通管制规则",description:"路口策略、区域互斥、动态让行（TrafficRule）",defaults:_(I)},{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{S as default};
