import{aI as b,aC as _,bJ as e,bt as C,b9 as n,aH as t,a2 as E,aE as g,ai as v,bj as w,w as S,t as h,aB as r,bq as a,ad as k,aG as o,H as D,C as P,F as V,g as B,ak as T}from"./index-Dg4NaXsE.js";/* empty css             *//* empty css                        *//* empty css                   *//* empty css               *//* empty css                *//* empty css               */import{C as x}from"./ConfigPageBase-MHa7yfOO.js";/* empty css                  */import"./PermissionGuard-BlMEkqrL.js";/* empty css                 */import"./reflection-B_glb6eT.js";import"./monitorConfigCache-BigdkiFw.js";const I={class:"tpl-title"},L={class:"tpl-meta"},N={class:"tpl-baseline"},F=b({__name:"ScenarioTemplateView",setup(R){return(y,z)=>{const c=k,d=h,m=S,p=E,f=D,l=V,u=P;return n(),_(x,{section:"scenario",title:"业务场景模板化",description:"SPS / Pack / 环线 / 点对点；DSL/低代码扩展（ScenarioTemplateConfig）",defaults:C(B)},{default:e(({payload:s})=>[t(p,{gutter:12},{default:e(()=>[(n(!0),g(v,null,w(s.templates,i=>(n(),_(m,{key:i.id,span:6},{default:e(()=>[t(d,{shadow:"hover",class:"tpl-card"},{default:e(()=>[r("div",I,a(i.name),1),r("div",L,[t(c,{size:"small"},{default:e(()=>[o(a(i.category),1)]),_:2},1024),t(c,{size:"small",type:"info"},{default:e(()=>[o("v"+a(i.version),1)]),_:2},1024)]),r("pre",N,a(i.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"])}}}),Y=T(F,[["__scopeId","data-v-4faf66a8"]]);export{Y as default};
