import{aG as b,aA as _,bB as e,bm as C,h as E,b3 as i,aF as t,aC as h,bd as v,x as S,u as g,az as c,bj as a,ad as w,aE as o,ai as k,G as D,a2 as P,F as V,I as x,al as B}from"./index-DrvLDslf.js";/* empty css             *//* empty css                        *//* empty css                   *//* empty css               *//* empty css                *//* empty css               */import{C as T}from"./ConfigPageBase-CPF7i-FB.js";/* empty css                  */import"./PermissionGuard-BxagL6-4.js";import"./reflection-Dr3WM5Rz.js";const F={class:"tpl-title"},I={class:"tpl-meta"},L={class:"tpl-baseline"},N=b({__name:"ScenarioTemplateView",setup(z){return(A,R)=>{const r=w,d=g,m=S,p=P,f=x,l=D,u=V;return i(),_(T,{section:"scenario",title:"业务场景模板化",description:"SPS / Pack / 环线 / 点对点；DSL/低代码扩展（ScenarioTemplateConfig）",defaults:C(E)},{default:e(({payload:s})=>[t(p,{gutter:12},{default:e(()=>[(i(!0),h(k,null,v(s.templates,n=>(i(),_(m,{key:n.id,span:6},{default:e(()=>[t(d,{shadow:"hover",class:"tpl-card"},{default:e(()=>[c("div",F,a(n.name),1),c("div",I,[t(r,{size:"small"},{default:e(()=>[o(a(n.category),1)]),_:2},1024),t(r,{size:"small",type:"info"},{default:e(()=>[o("v"+a(n.version),1)]),_:2},1024)]),c("pre",L,a(n.baselineJson||"{}"),1)]),_:2},1024)]),_:2},1024))),128))]),_:2},1024),t(f),t(u,{column:2,border:""},{default:e(()=>[t(l,{label:"DSL 启用"},{default:e(()=>[o(a(s.dslPolicy.enabled?"是":"否"),1)]),_:2},1024),t(l,{label:"Schema 版本"},{default:e(()=>[o(a(s.dslPolicy.schemaVersion),1)]),_:2},1024),t(l,{label:"低代码"},{default:e(()=>[o(a(s.lowCode.enabled?"启用":"关闭"),1)]),_:2},1024),t(l,{label:"编辑器"},{default:e(()=>[o(a(s.lowCode.editor),1)]),_:2},1024),t(l,{label:"保留版本"},{default:e(()=>[o(a(s.versionPolicy.keepVersions),1)]),_:2},1024),t(l,{label:"允许回滚"},{default:e(()=>[o(a(s.versionPolicy.allowRollback?"是":"否"),1)]),_:2},1024)]),_:2},1024)]),_:1},8,["defaults"])}}}),W=B(N,[["__scopeId","data-v-4faf66a8"]]);export{W as default};
