import{F as D,e as E}from"./elementPlus.c5b0e04f.js";import{G as I}from"./api.eaee66c6.js";import{_ as L}from"./addTabs.vue_vue_type_script_setup_true_lang.164a61e5.js";import{_ as k}from"./addContent.vue_vue_type_script_setup_true_lang.2a767167.js";import{_ as M}from"./formContent.vue_vue_type_script_setup_true_lang.6a6d84e2.js";import{d as $,r as p,j,a9 as o,o as r,E as d,G as l,a as _,M as a,K as c,u,t as i,J as f,c as w,a0 as J,z as K,F as R}from"./vue.65d9dadc.js";import"./index.373e4c1e.js";import"./echarts.72dc8373.js";import"./associationTable.vue_vue_type_script_setup_true_lang.6dc44da7.js";import"./dictionary.e641576e.js";import"./dictionary.afac2490.js";import"./index.beaffaea.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=()=>{I({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"),z=o("el-button-group"),C=o("el-header"),V=o("el-drawer"),T=o("el-col"),B=o("el-row"),N=o("el-tab-pane"),F=o("el-tabs"),G=o("el-card");return r(),d(G,null,{default:l(()=>[_("div",null,[a(C,null,{default:l(()=>[_("div",q,[_("div",null,[a(g,null,{default:l(()=>[c("系统配置:您可以对您的网站进行自定义配置")]),_:1})]),_("div",null,[a(z,null,{default:l(()=>[a(v,{type:"primary",size:"small",icon:u(D),onClick:t[0]||(t[0]=e=>i(n)?n.value=!0:n=!0)},{default:l(()=>[c(" 添加分组 ")]),_:1},8,["icon"]),a(v,{size:"small",type:"warning",icon:u(E),onClick:t[1]||(t[1]=e=>i(s)?s.value=!0:s=!0)},{default:l(()=>[c(" 添加内容 ")]),_:1},8,["icon"])]),_:1})])])]),_:1})]),_("div",null,[u(n)?(r(),d(V,{key:0,title:"添加分组",modelValue:u(n),"onUpdate:modelValue":t[2]||(t[2]=e=>i(n)?n.value=e:n=e),direction:"rtl",size:"30%"},{default:l(()=>[a(L)]),_:1},8,["modelValue"])):f("",!0)]),_("div",null,[u(s)?(r(),d(V,{key:0,title:"添加内容",modelValue:u(s),"onUpdate:modelValue":t[3]||(t[3]=e=>i(s)?s.value=e:s=e),direction:"rtl",size:"30%"},{default:l(()=>[a(k)]),_:1},8,["modelValue"])):f("",!0)]),a(F,{type:"border-card",modelValue:u(m),"onUpdate:modelValue":t[4]||(t[4]=e=>i(m)?m.value=e:m=e)},{default:l(()=>[(r(!0),w(R,null,J(u(b),(e,U)=>(r(),d(N,{key:U,label:e.title,name:e.key},{default:l(()=>[e.icon?(r(),w("span",A,[_("i",{class:K(e.icon),style:{"font-weight":"1000","font-size":"16px"}},null,2)])):f("",!0),e.icon?(r(),d(B,{key:1},{default:l(()=>[a(T,{offset:4,span:8},{default:l(()=>[a(k)]),_:1})]),_:1})):(r(),d(M,{key:2,options:e,editableTabsItem:e},null,8,["options","editableTabsItem"]))]),_:2},1032,["label","name"]))),128))]),_:1},8,["modelValue"])]),_:1})}}});export{ae as default};
