import{_ as e}from"./index105.js?v=1761009159";import{b2 as t,an as s,ao as o,ap as a,_ as r}from"./utils-lib.js?v=1761009159";import{c as i,s as l,v as p,x as m,e as n,B as d,y as u}from"./base-lib.js?v=1761009159";import{a as c,u as j}from"./column.js?v=1761009159";import{D as h,o as b,a as f}from"./index198.js?v=1761009159";import"./__commonjsHelpers__.js?v=1761009159";import"./index106.js?v=1761009159";import"./useController4.js?v=1761009159";import"./validator.js?v=1761009159";import"./useController5.js?v=1761009159";import"./site.js?v=1761009159";import"./useStore4.js?v=1761009159";import"./useController6.js?v=1761009159";import"./useMethod5.js?v=1761009159";import"./form-item.js?v=1761009159";const _={class:"p-[20px]"},x=r(i({__name:"extend-template",setup(r){const i=h(),{refreshTemplateTable:x}=l(i),{delPhpTemplate:v,useBatchEventHandle:B}=i,{BtOperation:C}=t({options:[{type:"button",label:"创建",active:!0,onClick:()=>{b()}}]}),g=a([{label:"删除",value:"delete",event:B}]),{BtTable:T,BtPage:k,BtBatch:W}=s({request:e=>f({p:e.p||1,row:e.limit||20}),columns:[c(),{label:"名称",prop:"name",minWidth:100},{label:"版本",prop:"version",minWidth:100},{label:"扩展",minWidth:100,prop:"exts"},j([{onClick:e=>{b(e)},title:"编辑"},{onClick:e=>{v(e,"php")},title:"删除"}])],extension:[g,o(x)]});return(t,s)=>{const o=e;return p(),m("div",_,[n(o,null,{"header-left":d(()=>[n(u(C))]),"header-right":d(()=>s[0]||(s[0]=[])),content:d(()=>[n(u(T),{"max-height":300})]),"footer-left":d(()=>[n(u(W))]),"footer-right":d(()=>[n(u(k))]),_:1})])}}}),[["__scopeId","data-v-c3f14b63"]]);export{x as default};
