import{d as a,D as s,r as e,a as t,b as l,h as d,f as i,K as o,l as r,k as v,e as c,w as n,L as f,M as p,N as u,p as b,_ as h}from"./index-d052b22f-1780912037814v=1.0.0.js";const m={class:"main-box"},$={key:0,class:"no-card card_padding"},x={class:"pl20 pr20"},_={class:"table-header"},y={class:"header-button-lf"},k={class:"header-button-ri"},g=h(a({__name:"IndexPagePro",props:{filterWidth:{type:Number,default:20}},emits:["update:filterWidth"],setup(a,{expose:h,emit:g}){const w=s(),C=e(w.treeCard),I=e(w.searchForm),M=a,W=e(20),B=e(null),F=e(!0),N=()=>{F.value=!F.value,W.value>20?W.value=20:W.value=M.filterWidth};return h({tableMainRef:B}),(a,s)=>{const e=t("Operation"),h=t("el-icon");return l(),d("div",m,[i(C)?(l(),d("div",{key:0,class:"card filter",style:o({width:i(W)+"px"})},[r(" 左边树 "),v("div",{class:f(["operationBtn",i(F)?"hide":"show"])},[c(h,{onClick:N},{default:n((()=>[c(e)])),_:1})],2),p(v("div",null,[b(a.$slots,"treeCard",{},void 0,!0)],512),[[u,!i(F)]])],4)):r("v-if",!0),v("div",{class:"table-box",style:o({width:`calc(100% - ${i(W)+10}px)`})},[i(I)?(l(),d("div",$,[b(a.$slots,"tabSelect",{},void 0,!0),r(" 上面搜索 "),v("div",x,[b(a.$slots,"searchForm",{},void 0,!0)])])):r("v-if",!0),v("div",{class:"card table-main",ref_key:"tableMainRef",ref:B},[v("div",_,[v("div",y,[r(" 表格上左 "),b(a.$slots,"tableHeader",{},void 0,!0)]),v("div",k,[r(" 表格上右 "),b(a.$slots,"toolButton",{},void 0,!0)])]),r(" 表单区域 "),b(a.$slots,"default",{},void 0,!0),r(" 分页 "),b(a.$slots,"pagination",{},void 0,!0),r(" 弹窗类 "),b(a.$slots,"dialog",{},void 0,!0)],512)],4)])}}}),[["__scopeId","data-v-961cfe0f"]]);export{g as I};
