import{d as u,ar as d,A as a,bn as f,bq as b,bu as _,bp as g,a9 as t,bw as C}from"../../../../common/preload-helper.BAt0wiQU.js";import{p as h}from"../../index.DetZ7Cvo.js";import{A as v}from"../../../../common/index.D6Cza-ao.js";import"../../../../common/motion.DDNFslEg.js";import"../../../../common/index.C2Ukrwif.js";import"../../../../common/index.BQlS3R_s.js";import"../../../../common/index.2Llx5d_f.js";import"../../../../common/useState.9-uUdCQD.js";import"../../../../common/warning.Dss1f44C.js";import"../../../../common/compact-item.CKdY6bQm.js";import"../../../../common/createContext.DKLY0CB7.js";import"../../../../common/slide.DNI51Zgv.js";import"../../../../common/index.K7lONbTM.js";import"../../../../common/index.Bkgl5HZD.js";import"../../../../common/KeyCode.D63Tfrq7.js";import"../../../../common/SearchOutlined.DEk5RLel.js";import"../../../../common/pickAttrs.CU3mp8mt.js";import"../../../../common/index.BZuLeNql.js";import"../../../../common/isMobile.DycClExL.js";import"../../../../common/useMergedState.BxRmC9rL.js";import"../../../../common/DownOutlined.DGkCTtd_.js";import"../../../../common/FormItemContext.B-agHi0o.js";import"../../../../common/statusUtils.-yEA-Gfk.js";import"../../../../common/index.C2RKq64j.js";import"../../../../common/index.BYqQbtL4.js";import"../../../../common/Checkbox.B6t5acdU.js";import"../../../../common/index.BflG9txR.js";import"../../../../common/index.CaM6juwS.js";import"../../../../common/isPlainObject.DBTCFiJr.js";import"../../../../common/debounce.BDxmfGD6.js";const T=["innerHTML"],oo=u({__name:"TableControl",props:{params:{type:Object,required:!0}},setup(p){var s;const i=p,{params:e}=d(i),o=e.value,m=a((s=o.paginated)!=null?s:!1),n=o.fields,c=a(o.classes),l=a(o.data);return(y,A)=>(f(),b(t(v),{class:C(c.value),"data-source":l.value,columns:t(n),pagination:m.value,bordered:""},{bodyCell:_(({text:r})=>[g("span",{innerHTML:t(h)((r==null?void 0:r.length)>0?r:"")},null,8,T)]),_:1},8,["class","data-source","columns","pagination"]))}});export{oo as default};
