import{d as C,f as e,U as c,a2 as B,a3 as b,k as r,af as a,G as m,a5 as l}from"./vue-vendor-CxLCUzY4.js";import"./index-KOQNKxnC.js";import{getBasicData as k,getBasicColumns as v}from"./tableData-B4J3mkj4.js";import A from"./BasicTable-DUJWN3yz.js";import{_ as E}from"./index-CLZzJyTP.js";import"./componentMap-DpsJvoqz.js";import"./antd-vue-vendor-CahNzUUa.js";import"./useFormItem-IOFWTdED.js";import"./index-XZKTTfG1.js";import"./BasicModal-B8XmAOm7.js";import"./ModalHeader-DIFQSP_0.js";import"./useTimeout-KpZCXEcl.js";import"./vxe-table-vendor-Cdi8WfTx.js";import"./index-DvqyyN77.js";import"./useWindowSizeFn-D9PllI8g.js";import"./index-DS3utcig.js";import"./index-BZbg0EjM.js";import"./index-CrdW4fN1.js";import"./useIntersectionObserver-FVRzwlSd.js";import"./download-DopMSmFN.js";import"./base64Conver-24EVOS6V.js";import"./index-CDa2_aYE.js";import"./index-D0jTtUNS.js";import"./useCountdown-BpP55PQ2.js";import"./useFormItemSingle-BEyrYQqf.js";import"./JSelectUser-CfAGgHjD.js";import"./props-BtZrRNiI.js";import"./JSelectBiz-CLnJTMe2.js";import"./JAddInput-B36c3B5x.js";import"./areaDataUtil-Dk3xkGfK.js";import"./china-area-data-vendor-ByvEpbzN.js";import"./index-C7yPiS0L.js";import"./index-44tRnyoF.js";import"./bem-DT3DdmOs.js";import"./props-CG-jAkbI.js";import"./useContextMenu-BGU2vdqV.js";import"./depart.api-DHG2p2Yd.js";import"./JImageUpload-BFwNYdm5.js";import"./JDictSelectTag-CfF54ALX.js";import"./JSelectDept-CaEHrQp6.js";import"./JPopup-BvqhHpPl.js";import"./JEllipsis-C_gT_vEQ.js";import"./JUpload-DgDEmizw.js";import"./index-Bn2zmO2L.js";import"./index-CEznvAVZ.js";import"./index-CfAukas3.js";import"./index-ByX9XNkE.js";import"./useForm-Dx3lJ3DG.js";import"./JAreaLinkage-M9TGy8nY.js";import"./JCodeEditor-CR57XeIe.js";import"./htmlmixed-DoVLO6sG.js";import"./vue-DY75b9GC.js";/* empty css             */import"./EasyCronInput-CWOTSpxK.js";import"./injectionKey-DPVn4AgL.js";const y=C({components:{BasicTable:A},setup(){const o=e(!1),t=e(!1),n=e(!0),p=e(!0),u=e(!1);function d(){o.value=!o.value}function i(){n.value=!n.value}function s(){t.value=!0,setTimeout(()=>{t.value=!1,u.value={pageSize:20}},3e3)}function g(){p.value=!p.value}function f(F){}return{columns:v(),data:k(),canResize:o,loading:t,striped:n,border:p,toggleStriped:i,toggleCanResize:d,toggleLoading:s,toggleBorder:g,pagination:u,handleColumnChange:f}}}),h={class:"p-4"};function z(o,t,n,p,u,d){const i=c("a-button"),s=c("BasicTable");return B(),b("div",h,[r(s,{title:"基础示例",titleHelpMessage:"温馨提醒",columns:o.columns,dataSource:o.data,canResize:o.canResize,loading:o.loading,striped:o.striped,bordered:o.border,showTableSetting:"",pagination:o.pagination,onColumnsChange:o.handleColumnChange},{toolbar:a(()=>[r(i,{type:"primary",onClick:o.toggleCanResize},{default:a(()=>[m(l(o.canResize?"取消自适应":"自适应高度"),1)]),_:1},8,["onClick"]),r(i,{type:"primary",onClick:o.toggleBorder},{default:a(()=>[m(l(o.border?"隐藏边框":"显示边框"),1)]),_:1},8,["onClick"]),r(i,{type:"primary",onClick:o.toggleLoading},{default:a(()=>t[0]||(t[0]=[m(" 开启loading ")])),_:1},8,["onClick"]),r(i,{type:"primary",onClick:o.toggleStriped},{default:a(()=>[m(l(o.striped?"隐藏斑马纹":"显示斑马纹"),1)]),_:1},8,["onClick"])]),_:1},8,["columns","dataSource","canResize","loading","striped","bordered","pagination","onColumnsChange"])])}const Do=E(y,[["render",z]]);export{Do as default};
