import{F as I,e as G}from"./elementPlus.4833989a.js";import{G as L}from"./api.46176471.js";import{_ as M}from"./addTabs.vue_vue_type_script_setup_true_lang.f2bec198.js";import{_ as k}from"./addContent.vue_vue_type_script_setup_true_lang.83599535.js";import{_ as R}from"./formContent.vue_vue_type_script_setup_true_lang.662b650c.js";import{d as $,r as p,j,ai as o,o as r,M as _,O as l,a as i,U as a,S as c,u,D as d,R as f,c as w,a8 as E,I as O,F as S}from"./vue.adf17aba.js";import"./index.ad3efb29.js";import"./echarts.72dc8373.js";import"./associationTable.vue_vue_type_script_setup_true_lang.ceda152b.js";import"./dictionary.bf4815bd.js";import"./dictionary.506d4581.js";import"./index.1e2ff30c.js";import"./_plugin-vue_export-helper.c27b6911.js";const q={class:"yxt-flex-between"},A={key:0,slot:"label"},ae=$({__name:"index",setup(H){let n=p(!1),s=p(!1),m=p("base"),b=p([]);const x=()=>{L({limit:999,parent__isnull:!0}).then(y=>{let t=y.data;t.push({title:"无",icon:"el-icon-plus",key:"null"}),b.value=t})};return j(()=>{x()}),(y,t)=>{const g=o("el-tag"),v=o("el-button"),C=o("el-button-group"),z=o("el-header"),V=o("el-drawer"),T=o("el-col"),B=o("el-row"),N=o("el-tab-pane"),U=o("el-tabs"),D=o("el-card");return r(),_(D,null,{default:l(()=>[i("div",null,[a(z,null,{default:l(()=>[i("div",q,[i("div",null,[a(g,null,{default:l(()=>[c("系统配置:您可以对您的网站进行自定义配置")]),_:1})]),i("div",null,[a(C,null,{default:l(()=>[a(v,{type:"primary",size:"small",icon:u(I),onClick:t[0]||(t[0]=e=>d(n)?n.value=!0:n=!0)},{default:l(()=>[c(" 添加分组 ")]),_:1},8,["icon"]),a(v,{size:"small",type:"warning",icon:u(G),onClick:t[1]||(t[1]=e=>d(s)?s.value=!0:s=!0)},{default:l(()=>[c(" 添加内容 ")]),_:1},8,["icon"])]),_:1})])])]),_:1})]),i("div",null,[u(n)?(r(),_(V,{key:0,title:"添加分组",modelValue:u(n),"onUpdate:modelValue":t[2]||(t[2]=e=>d(n)?n.value=e:n=e),direction:"rtl",size:"30%"},{default:l(()=>[a(M)]),_:1},8,["modelValue"])):f("",!0)]),i("div",null,[u(s)?(r(),_(V,{key:0,title:"添加内容",modelValue:u(s),"onUpdate:modelValue":t[3]||(t[3]=e=>d(s)?s.value=e:s=e),direction:"rtl",size:"30%"},{default:l(()=>[a(k)]),_:1},8,["modelValue"])):f("",!0)]),a(U,{type:"border-card",modelValue:u(m),"onUpdate:modelValue":t[4]||(t[4]=e=>d(m)?m.value=e:m=e)},{default:l(()=>[(r(!0),w(S,null,E(u(b),(e,F)=>(r(),_(N,{key:F,label:e.title,name:e.key},{default:l(()=>[e.icon?(r(),w("span",A,[i("i",{class:O(e.icon),style:{"font-weight":"1000","font-size":"16px"}},null,2)])):f("",!0),e.icon?(r(),_(B,{key:1},{default:l(()=>[a(T,{offset:4,span:8},{default:l(()=>[a(k)]),_:1})]),_:1})):(r(),_(R,{key:2,options:e,editableTabsItem:e},null,8,["options","editableTabsItem"]))]),_:2},1032,["label","name"]))),128))]),_:1},8,["modelValue"])]),_:1})}}});export{ae as default};
