import{aE as b,ay as _,bD as e,bn as C,b4 as i,aD as t,a1 as E,aA as g,ah as h,be as v,w,t as S,ax as c,bk as a,ac as D,aC as o,H as k,C as P,F as V,g as x,aj as T}from"./index-C6ULY2Si.js";/* empty css             *//* empty css                        *//* empty css                   *//* empty css               *//* empty css                *//* empty css               */import{C as B}from"./ConfigPageBase-DmCcZeia.js";/* empty css                  */import"./PermissionGuard-DIZkcwyW.js";/* empty css                 */import"./reflection-CKXyOCM_.js";const L={class:"tpl-title"},N={class:"tpl-meta"},y={class:"tpl-baseline"},A=b({__name:"ScenarioTemplateView",setup(F){return(I,R)=>{const r=D,d=S,m=w,p=E,f=k,l=V,u=P;return i(),_(B,{section:"scenario",title:"业务场景模板化",description:"SPS / Pack / 环线 / 点对点；DSL/低代码扩展（ScenarioTemplateConfig）",defaults:C(x)},{default:e(({payload:s})=>[t(p,{gutter:12},{default:e(()=>[(i(!0),g(h,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",L,a(n.name),1),c("div",N,[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",y,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"])}}}),X=T(A,[["__scopeId","data-v-4faf66a8"]]);export{X as default};
