var d=(o,c,l)=>new Promise((r,n)=>{var u=a=>{try{e(l.next(a))}catch(i){n(i)}},t=a=>{try{e(l.throw(a))}catch(i){n(i)}},e=a=>a.done?r(a.value):Promise.resolve(a.value).then(u,t);e((l=l.apply(o,c)).next())});import{L as p,M as w,C as b,__tla as m}from"./index-f0df2f76.js";import{k as R,b as D,u as g,w as h,J as s}from"./vue-1631514e.js";let S,y=Promise.all([(()=>{try{return m}catch(o){}})()]).then(()=>d(void 0,null,function*(){S=function(o){const c=R(null),l=R(!1),r=R(null);let n;function u(e,a){D(()=>{c.value=null,l.value=null}),!(g(l)&&p()&&e===g(c))&&(c.value=e,r.value=a,o&&e.setProps(w(o)),l.value=!0,n==null||n(),n=h(()=>o,()=>{o&&e.setProps(w(o))},{immediate:!0,deep:!0}))}function t(){const e=g(c);return e||b("The table instance has not been obtained yet, please make sure the table is presented when performing the table operation!"),e}return[u,{reload:e=>d(this,null,function*(){return yield t().reload(e)}),setProps:e=>{t().setProps(e)},redoHeight:()=>{t().redoHeight()},setSelectedRows:e=>s(t().setSelectedRows(e)),setLoading:e=>{t().setLoading(e)},getDataSource:()=>t().getDataSource(),getRawDataSource:()=>t().getRawDataSource(),getColumns:({ignoreIndex:e=!1}={})=>{const a=t().getColumns({ignoreIndex:e})||[];return s(a)},setColumns:e=>{t().setColumns(e)},setTableData:e=>t().setTableData(e),setPagination:e=>t().setPagination(e),deleteSelectRowByKey:e=>{t().deleteSelectRowByKey(e)},getSelectRowKeys:()=>s(t().getSelectRowKeys()),getSelectRows:()=>s(t().getSelectRows()),clearSelectedRowKeys:()=>{t().clearSelectedRowKeys()},setSelectedRowKeys:e=>{t().setSelectedRowKeys(e)},getPaginationRef:()=>t().getPaginationRef(),getSize:()=>s(t().getSize()),updateTableData:(e,a,i)=>t().updateTableData(e,a,i),deleteTableDataRecord:e=>t().deleteTableDataRecord(e),insertTableDataRecord:(e,a)=>t().insertTableDataRecord(e,a),updateTableDataRecord:(e,a)=>t().updateTableDataRecord(e,a),findTableDataRecord:e=>t().findTableDataRecord(e),getRowSelection:()=>s(t().getRowSelection()),getCacheColumns:()=>s(t().getCacheColumns()),getForm:()=>g(r),setShowPagination:e=>d(this,null,function*(){t().setShowPagination(e)}),getShowPagination:()=>s(t().getShowPagination()),expandAll:()=>{t().expandAll()},expandRows:e=>{t().expandRows(e)},collapseAll:()=>{t().collapseAll()},scrollTo:e=>{t().scrollTo(e)}}]}}));export{y as __tla,S as u};