import{B as s}from"./TableImg.2aabef6a.js";import{j as c}from"./BasicForm.d11b68fd.js";import{u as F}from"./useTable.13a8b0ff.js";import{P as d}from"./index.566277e5.js";import{getBasicColumns as B}from"./tableData.f7682e9a.js";import{d as E}from"./table.5cb529f7.js";import{aP as C,a as f,aQ as e,o as b,aR as g,p as r,j as n,i as _,t as T}from"./index.0d073eaa.js";import"./index.965098be.js";import"./Checkbox.476f6e92.js";import"./index.1491cab6.js";import"./index.e8b360cf.js";import"./eagerComputed.156e81ff.js";import"./useForm.868c8e81.js";import"./index.7075e2b7.js";import"./index.04f7e044.js";import"./index.e317a008.js";import"./uuid.2b29000c.js";import"./index.2b5ea4f6.js";import"./_baseIteratee.3919e7cf.js";import"./get.49a42f2e.js";import"./DeleteOutlined.247d1f35.js";import"./index.a8c197b8.js";import"./useRefs.e81831e2.js";import"./Form.48352728.js";import"./Col.a2eadc78.js";import"./useFlexGapSupport.474c31b7.js";import"./useSize.bb4e5ce5.js";import"./useWindowSizeFn.ef20ece8.js";import"./index.c05f9254.js";import"./FullscreenOutlined.401a7bcd.js";import"./index.0fb15725.js";import"./sortable.esm.2632adaa.js";import"./RedoOutlined.32117fb5.js";import"./index.dd1f987c.js";import"./fromPairs.84aabb58.js";import"./scrollTo.f8a2fd00.js";import"./index.2ed1a060.js";/* empty css              *//* empty css              */import"./index.e8daa066.js";import"./index.81899e8a.js";import"./index.ffb8ac7d.js";import"./download.bb4c9304.js";import"./base64Conver.08b9f4ec.js";import"./index.31930d74.js";import"./index.1d29734e.js";import"./uniqBy.ac0f9c38.js";import"./index.e9a84cba.js";import"./index.0972fd96.js";import"./useContentViewHeight.01b9d1c6.js";import"./ArrowLeftOutlined.90d2e05e.js";import"./index.8680e4c4.js";import"./transButton.8c1b1a4f.js";const D=f({components:{BasicTable:s,TableAction:c,PageWrapper:d},setup(){const[o]=F({api:E,title:"\u53EF\u5C55\u5F00\u8868\u683C\u6F14\u793A",titleHelpMessage:["\u5DF2\u542F\u7528expandRowByClick","\u5DF2\u542F\u7528stopButtonPropagation"],columns:B(),rowKey:"id",canResize:!1,expandRowByClick:!0,actionColumn:{width:160,title:"Action"}});function p(t){console.log("\u70B9\u51FB\u4E86\u5220\u9664",t)}function u(t){console.log("\u70B9\u51FB\u4E86\u542F\u7528",t)}return{registerTable:o,handleDelete:p,handleOpen:u}}});function A(o,p,u,t,w,R){const a=e("TableAction"),m=e("BasicTable"),l=e("PageWrapper");return b(),g(l,{title:"\u53EF\u5C55\u5F00\u8868\u683C",content:"\u4E0D\u53EF\u4E0Escroll\u5171\u7528\u3002TableAction\u7EC4\u4EF6\u53EF\u914D\u7F6EstopButtonPropagation\u6765\u963B\u6B62\u64CD\u4F5C\u6309\u94AE\u7684\u70B9\u51FB\u4E8B\u4EF6\u5192\u6CE1\uFF0C\u4EE5\u4FBF\u914D\u5408Table\u7EC4\u4EF6\u7684expandRowByClick"},{default:r(()=>[n(m,{onRegister:o.registerTable},{expandedRowRender:r(({record:i})=>[_("span",null,"No: "+T(i.no),1)]),action:r(({record:i})=>[n(a,{stopButtonPropagation:"",actions:[{label:"\u5220\u9664",icon:"ic:outline-delete-outline",onClick:o.handleDelete.bind(null,i)}],dropDownActions:[{label:"\u542F\u7528",popConfirm:{title:"\u662F\u5426\u542F\u7528\uFF1F",confirm:o.handleOpen.bind(null,i)}}]},null,8,["actions","dropDownActions"])]),_:1},8,["onRegister"])]),_:1})}var Po=C(D,[["render",A]]);export{Po as default};
