import{d as g,f as k,U as r,a2 as i,ad as y,af as e,k as m,G as p,a3 as l,a4 as b,a5 as C,F}from"./vue-vendor-CxLCUzY4.js";import{u as B}from"./index-KOQNKxnC.js";import{getFormConfig as h,getBasicColumns as E}from"./tableData-B4J3mkj4.js";import{A as T}from"./antd-vue-vendor-CahNzUUa.js";import{d as S}from"./table-CVQJbEH2.js";import w from"./BasicTable-DUJWN3yz.js";import{_ as A}from"./index-CLZzJyTP.js";import"./componentMap-DpsJvoqz.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 K=g({components:{BasicTable:w,AAlert:T},setup(){const o=k([]),[t,{getForm:c}]=B({title:"开启搜索区域",api:S,columns:E(),useSearchForm:!0,formConfig:h(),showTableSetting:!0,tableSetting:{fullScreen:!0},showIndexColumn:!1,rowKey:"id"});function s(){}function n(a){o.value=a}return{registerTable:t,getFormValues:s,checkedKeys:o,onSelectChange:n}}}),_={key:1};function D(o,t,c,s,n,a){const u=r("a-button"),f=r("a-alert"),d=r("BasicTable");return i(),y(d,{onRegister:o.registerTable,rowSelection:{type:"checkbox",selectedRowKeys:o.checkedKeys,onChange:o.onSelectChange}},{"form-custom":e(()=>t[1]||(t[1]=[p(" custom-slot ")])),headerTop:e(()=>[m(f,{type:"info","show-icon":""},{message:e(()=>[o.checkedKeys.length>0?(i(),l(F,{key:0},[b("span",null,"已选中"+C(o.checkedKeys.length)+"条记录(可跨页)",1),m(u,{type:"link",onClick:t[0]||(t[0]=V=>o.checkedKeys=[]),size:"small"},{default:e(()=>t[2]||(t[2]=[p("清空")])),_:1})],64)):(i(),l("span",_,"未选中任何项目"))]),_:1})]),toolbar:e(()=>[m(u,{type:"primary",onClick:o.getFormValues},{default:e(()=>t[3]||(t[3]=[p("获取表单数据")])),_:1},8,["onClick"])]),_:1},8,["onRegister","rowSelection"])}const Ro=A(K,[["render",D]]);export{Ro as default};
