import{list as m}from"./list-b104fdd5.js";import{_}from"./index-5df52834.js";import"./base.vue_vue_type_script_setup_true_lang-6d229657.js";import"./data-218ca159.js";import"./stripe.vue_vue_type_script_setup_true_lang-745b91d5.js";import"./border.vue_vue_type_script_setup_true_lang-ada89ae7.js";import"./status.vue_vue_type_style_index_0_lang-24c8f543.js";import"./fixHeader.vue_vue_type_script_setup_true_lang-719f74fa.js";import"./fixColumn.vue_vue_type_script_setup_true_lang-300ed54c.js";import"./fluidHeight.vue_vue_type_script_setup_true_lang-be6bfb5f.js";import"./groupHeader.vue_vue_type_script_setup_true_lang-7fbfba7c.js";import"./radio.vue_vue_type_script_setup_true_lang-c214eed8.js";import"./multipleChoice.vue_vue_type_script_setup_true_lang-9fe4951f.js";import"./sortable.vue_vue_type_script_setup_true_lang-b06e3b92.js";import"./filters.vue_vue_type_script_setup_true_lang-28ab2539.js";import"./index.vue_vue_type_script_setup_true_lang-98da3c4c.js";import"./columns-a5a8ea46.js";import"./message-5a54ef00.js";import"./index.vue_vue_type_script_setup_true_lang-bb7183f1.js";import"./columns-15249b7f.js";import"./expand.vue_vue_type_script_setup_true_lang-0dff0363.js";import"./tree.vue_vue_type_script_setup_true_lang-9318b807.js";import"./totalRow.vue_vue_type_script_setup_true_lang-e58d18d0.js";import"./merge.vue_vue_type_script_setup_true_lang-72107030.js";import"./customIndex.vue_vue_type_script_setup_true_lang-69b1a6a7.js";import"./layout.vue_vue_type_script_setup_true_lang-330c6c10.js";import"./nestProp.vue_vue_type_script_setup_true_lang-85c33e1b.js";import"./imgPreview.vue_vue_type_script_setup_true_lang-65452411.js";const s={class:"card-header"},V={class:"font-medium"},d=Vue.defineComponent({name:"PureTable"}),f=Vue.defineComponent({...d,setup(C){const t=Vue.ref(0);function r({index:o}){t.value=o}return(o,b)=>{const l=Vue.resolveComponent("el-link"),p=Vue.resolveComponent("el-alert"),a=Vue.resolveComponent("el-tooltip"),u=Vue.resolveComponent("el-tab-pane"),c=Vue.resolveComponent("el-tabs"),i=Vue.resolveComponent("el-card");return Vue.openBlock(),Vue.createBlock(i,{shadow:"never"},{header:Vue.withCtx(()=>[Vue.createElementVNode("div",s,[Vue.createElementVNode("span",V,[Vue.createTextVNode(" 平台二次封装 element-plus 的 Table ，完全兼容 Api 并提供灵活的配置项以及完善的类型提醒，再也不用将代码都写在 template 里了，欢迎 Star "),Vue.createVNode(l,{href:"https://github.com/pure-admin/pure-admin-table",target:"_blank",style:{"font-size":"16px",margin:"0 4px 5px"}},{default:Vue.withCtx(()=>[Vue.createTextVNode(" @pureadmin/table ")]),_:1})])])]),default:Vue.withCtx(()=>[Vue.createVNode(p,{title:`基础用法中大部分表格都没设置 row-key ，不过最好都设置一下，后端需返回唯一值的字段，比如id 作用：1. 用来优化 Table
      的渲染，尤其当字段在深层结构中；2. 防止某些操作导致表格组件内部混乱`,type:"info",closable:!1}),Vue.createVNode(c,{onTabClick:r},{default:Vue.withCtx(()=>[(Vue.openBlock(!0),Vue.createElementBlock(Vue.Fragment,null,Vue.renderList(Vue.unref(m),(e,n)=>(Vue.openBlock(),Vue.createBlock(u,{key:e.key,lazy:!0},{label:Vue.withCtx(()=>[Vue.createVNode(a,{content:`（第 ${n+1} 个示例）${e.content}`,placement:"top-end"},{default:Vue.withCtx(()=>[Vue.createElementVNode("span",null,Vue.toDisplayString(e.title),1)]),_:2},1032,["content"])]),default:Vue.withCtx(()=>[t.value==n?(Vue.openBlock(),Vue.createBlock(Vue.resolveDynamicComponent(e.component),{key:0})):Vue.createCommentVNode("",!0)]),_:2},1024))),128))]),_:1})]),_:1})}}});const Q=_(f,[["__scopeId","data-v-4ecbf9d5"]]);export{Q as default};
