import{list as m}from"./list-3d4feff9.js";import{_}from"./index-5df52834.js";import"./index.vue_vue_type_script_setup_true_lang-f1c49838.js";import"./columns-9d8d7b8b.js";import"./data-3da52ac2.js";import"./index.vue_vue_type_script_setup_true_lang-dfa6e36a.js";import"./columns-a9e3738d.js";import"./sortable.esm-679e0872.js";import"./index.vue_vue_type_script_setup_true_lang-8f32788f.js";import"./columns-435305f7.js";import"./index.vue_vue_type_script_setup_true_lang-8c35c4b4.js";import"./columns-7b0d05ea.js";import"./message-5a54ef00.js";import"./index.vue_vue_type_script_setup_true_lang-bb6b339e.js";import"./columns-408aee73.js";import"./xlsx-e927f539.js";import"./index.vue_vue_type_script_setup_true_lang-0cac84f4.js";import"./columns-804b032a.js";import"./edit-pen-37b5ced2.js";import"./check-f53d8364.js";import"./index.vue_vue_type_script_setup_true_lang-e542c8b6.js";import"./columns-bdff9546.js";import"./index.vue_vue_type_script_setup_true_lang-a96abf79.js";import"./columns-662fd533.js";import"./print-a6e42845.js";import"./index.vue_vue_type_script_setup_true_lang-4ee299b9.js";import"./columns-9009aafc.js";import"./index-fb246486.js";import"./index.vue_vue_type_script_setup_true_lang-c89634e3.js";import"./index.vue_vue_type_script_setup_true_lang-c30fac6d.js";import"./columns-86f93a56.js";import"./index.vue_vue_type_script_setup_true_lang-69e33cf3.js";import"./columns-5142a822.js";const s={class:"card-header"},V={class:"font-medium"},d=Vue.defineComponent({name:"PureTableHigh"}),f=Vue.defineComponent({...d,setup(h){const t=Vue.ref(0);function r({index:o}){t.value=o}return(o,C)=>{const p=Vue.resolveComponent("el-link"),l=Vue.resolveComponent("el-alert"),a=Vue.resolveComponent("el-tooltip"),c=Vue.resolveComponent("el-tab-pane"),i=Vue.resolveComponent("el-tabs"),u=Vue.resolveComponent("el-card");return Vue.openBlock(),Vue.createBlock(u,{shadow:"never"},{header:Vue.withCtx(()=>[Vue.createElementVNode("div",s,[Vue.createElementVNode("span",V,[Vue.createTextVNode(" 高级用法全部采用 tsx 语法，充分发挥 "),Vue.createVNode(p,{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}),Vue.createTextVNode(" 的灵活性，维护整体表格只需操作 columns 配置即可 ")])])]),default:Vue.withCtx(()=>[Vue.createVNode(l,{title:`高级用法中所有表格都设置了 row-key ，后端需返回唯一值的字段，比如id 作用：1. 用来优化 Table
      的渲染，尤其当字段在深层结构中；2. 防止拖拽后表格组件内部混乱（拖拽必须设置哦，坑都帮您们踩过啦 ❤️）`,type:"info",closable:!1}),Vue.createVNode(i,{onTabClick:r},{default:Vue.withCtx(()=>[(Vue.openBlock(!0),Vue.createElementBlock(Vue.Fragment,null,Vue.renderList(Vue.unref(m),(e,n)=>(Vue.openBlock(),Vue.createBlock(c,{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 Y=_(f,[["__scopeId","data-v-ca25c2b7"]]);export{Y as default};
