import{useColumns as h}from"./columns-9d8d7b8b.js";const C=Vue.createElementVNode("p",{class:"text-sm"},"动态列：",-1),x=Vue.createElementVNode("p",{class:"text-sm"},"表格大小：",-1),w=Vue.createElementVNode("p",{class:"text-sm"},"分页大小：",-1),b=Vue.createElementVNode("p",{class:"text-sm"},"分页的对齐方式：",-1),S=Vue.defineComponent({__name:"index",setup(v){const{loading:i,columns:s,dataList:c,hideVal:V,tableSize:a,pagination:l,loadingConfig:f,paginationAlign:n,paginationSmall:r,onChange:m,onSizeChange:_,onCurrentChange:g}=h();return(T,t)=>{const e=Vue.resolveComponent("el-radio-button"),o=Vue.resolveComponent("el-radio-group"),d=Vue.resolveComponent("el-divider"),p=Vue.resolveComponent("el-space"),N=Vue.resolveComponent("pure-table");return Vue.openBlock(),Vue.createElementBlock("div",null,[Vue.createVNode(p,{class:"float-right mb-4"},{default:Vue.withCtx(()=>[C,Vue.createVNode(o,{modelValue:Vue.unref(V),"onUpdate:modelValue":t[0]||(t[0]=u=>Vue.isRef(V)?V.value=u:null),size:"small"},{default:Vue.withCtx(()=>[Vue.createVNode(e,{label:"nohide"},{default:Vue.withCtx(()=>[Vue.createTextVNode("不隐藏")]),_:1}),Vue.createVNode(e,{label:"hideDate"},{default:Vue.withCtx(()=>[Vue.createTextVNode("隐藏日期")]),_:1}),Vue.createVNode(e,{label:"hideName"},{default:Vue.withCtx(()=>[Vue.createTextVNode("隐藏姓名")]),_:1}),Vue.createVNode(e,{label:"hideAddress"},{default:Vue.withCtx(()=>[Vue.createTextVNode("隐藏地址")]),_:1})]),_:1},8,["modelValue"]),Vue.createVNode(d,{direction:"vertical"}),x,Vue.createVNode(o,{modelValue:Vue.unref(a),"onUpdate:modelValue":t[1]||(t[1]=u=>Vue.isRef(a)?a.value=u:null),size:"small"},{default:Vue.withCtx(()=>[Vue.createVNode(e,{label:"large"},{default:Vue.withCtx(()=>[Vue.createTextVNode("large")]),_:1}),Vue.createVNode(e,{label:"default"},{default:Vue.withCtx(()=>[Vue.createTextVNode("default")]),_:1}),Vue.createVNode(e,{label:"small"},{default:Vue.withCtx(()=>[Vue.createTextVNode("small")]),_:1})]),_:1},8,["modelValue"]),Vue.createVNode(d,{direction:"vertical"}),w,Vue.createVNode(o,{modelValue:Vue.unref(r),"onUpdate:modelValue":t[2]||(t[2]=u=>Vue.isRef(r)?r.value=u:null),size:"small",onChange:Vue.unref(m)},{default:Vue.withCtx(()=>[Vue.createVNode(e,{label:!1},{default:Vue.withCtx(()=>[Vue.createTextVNode("no small")]),_:1}),Vue.createVNode(e,{label:!0},{default:Vue.withCtx(()=>[Vue.createTextVNode("small")]),_:1})]),_:1},8,["modelValue","onChange"]),Vue.createVNode(d,{direction:"vertical"}),b,Vue.createVNode(o,{modelValue:Vue.unref(n),"onUpdate:modelValue":t[3]||(t[3]=u=>Vue.isRef(n)?n.value=u:null),size:"small"},{default:Vue.withCtx(()=>[Vue.createVNode(e,{label:"right"},{default:Vue.withCtx(()=>[Vue.createTextVNode("right")]),_:1}),Vue.createVNode(e,{label:"center"},{default:Vue.withCtx(()=>[Vue.createTextVNode("center")]),_:1}),Vue.createVNode(e,{label:"left"},{default:Vue.withCtx(()=>[Vue.createTextVNode("left")]),_:1})]),_:1},8,["modelValue"])]),_:1}),Vue.createVNode(N,{border:"","row-key":"id",alignWhole:"center",showOverflowTooltip:"",size:Vue.unref(a),loading:Vue.unref(i),"loading-config":Vue.unref(f),height:Vue.unref(a)==="small"?352:440,data:Vue.unref(c).slice((Vue.unref(l).currentPage-1)*Vue.unref(l).pageSize,Vue.unref(l).currentPage*Vue.unref(l).pageSize),columns:Vue.unref(s),pagination:Vue.unref(l),onPageSizeChange:Vue.unref(_),onPageCurrentChange:Vue.unref(g)},null,8,["size","loading","loading-config","height","data","columns","pagination","onPageSizeChange","onPageCurrentChange"])])}}});export{S as _};
