Basic-0ac3d3d6.js 5.8 KB

1
  1. var h=(t,p,e)=>new Promise((r,l)=>{var c=a=>{try{o(e.next(a))}catch(_){l(_)}},n=a=>{try{o(e.throw(a))}catch(_){l(_)}},o=a=>a.done?r(a.value):Promise.resolve(a.value).then(c,n);o((e=e.apply(t,p)).next())});import{a as v,__tla as k}from"./index-77a743d4.js";import{getBasicColumns as z,getBasicData as B}from"./tableData-7e06aa3e.js";import{d as R,r as m,_ as S,y as d,o as T,l as w,e as i,w as s,b as u,t as y,__tla as L}from"./index-fd0fd824.js";import{__tla as x}from"./index-e50f6e4a.js";import{__tla as A}from"./index-13eea13d.js";import{__tla as D}from"./index-e8312a60.js";import{__tla as E}from"./index-820f5e2b.js";import{__tla as F}from"./index-39dad578.js";import{__tla as H}from"./min-1adf9c3a.js";import{__tla as M}from"./sum-42c3df95.js";import{__tla as P}from"./index-2901f384.js";import{__tla as U}from"./useWindowSizeFn-0280681a.js";import{__tla as j}from"./FullscreenOutlined-e2cd9f87.js";import{__tla as q}from"./useScript-02c64576.js";import{__tla as G}from"./index-c41ea83b.js";import{__tla as I}from"./download-1f0cd2f2.js";import"./base64Conver-39fc0d26.js";import{__tla as J}from"./index-a30091aa.js";import{__tla as K}from"./useCountdown-b292834d.js";import{__tla as N}from"./index-5cdecdca.js";import{__tla as O}from"./Tree-2a2b6740.js";import{__tla as Q}from"./useContextMenu-42613fc9.js";import{__tla as V}from"./difference-f0fad6aa.js";import{__tla as W}from"./Index-ec0f321a.js";import{__tla as X}from"./UserCard-74470469.js";import{__tla as Y}from"./index-95f08366.js";import{__tla as Z}from"./Upload-46bf3f3c.js";import{__tla as $}from"./index-edb282b3.js";import{__tla as tt}from"./upload-b70f3dfc.js";import"./base64-10c35a1f.js";import{__tla as rt}from"./formPermission-d3513fe8.js";import"./workflowEnum-a2efed5c.js";import{__tla as at}from"./designHelper-69d8d4e3.js";import{__tla as _t}from"./index-2f747d19.js";import{__tla as lt}from"./design-f4e32e3f.js";import{__tla as ot}from"./set-9898d689.js";import{__tla as et}from"./_isIterateeCall-58465fa8.js";import{__tla as ct}from"./uniqBy-ded1e1b7.js";import{__tla as nt}from"./index-f05996c6.js";import{__tla as mt}from"./index-44c387e0.js";import{__tla as it}from"./index-fa2f7628.js";import{__tla as st}from"./onMountedOrActivated-c075b0f3.js";import{__tla as ut}from"./index-d35460c6.js";import{__tla as pt}from"./useContentViewHeight-3f9f9984.js";import"./sortable.esm-e1a7db5e.js";import{__tla as ft}from"./RedoOutlined-a242015f.js";import{__tla as yt}from"./index-2dcf3c35.js";import{__tla as ht}from"./index-7e7b5ede.js";import{__tla as dt}from"./index-0658669d.js";import{__tla as gt}from"./index-559d4dd0.js";import{__tla as Ct}from"./index-a23bd8ec.js";let g,bt=Promise.all([(()=>{try{return k}catch(t){}})(),(()=>{try{return L}catch(t){}})(),(()=>{try{return x}catch(t){}})(),(()=>{try{return A}catch(t){}})(),(()=>{try{return D}catch(t){}})(),(()=>{try{return E}catch(t){}})(),(()=>{try{return F}catch(t){}})(),(()=>{try{return H}catch(t){}})(),(()=>{try{return M}catch(t){}})(),(()=>{try{return P}catch(t){}})(),(()=>{try{return U}catch(t){}})(),(()=>{try{return j}catch(t){}})(),(()=>{try{return q}catch(t){}})(),(()=>{try{return G}catch(t){}})(),(()=>{try{return I}catch(t){}})(),(()=>{try{return J}catch(t){}})(),(()=>{try{return K}catch(t){}})(),(()=>{try{return N}catch(t){}})(),(()=>{try{return O}catch(t){}})(),(()=>{try{return Q}catch(t){}})(),(()=>{try{return V}catch(t){}})(),(()=>{try{return W}catch(t){}})(),(()=>{try{return X}catch(t){}})(),(()=>{try{return Y}catch(t){}})(),(()=>{try{return Z}catch(t){}})(),(()=>{try{return $}catch(t){}})(),(()=>{try{return tt}catch(t){}})(),(()=>{try{return rt}catch(t){}})(),(()=>{try{return at}catch(t){}})(),(()=>{try{return _t}catch(t){}})(),(()=>{try{return lt}catch(t){}})(),(()=>{try{return ot}catch(t){}})(),(()=>{try{return et}catch(t){}})(),(()=>{try{return ct}catch(t){}})(),(()=>{try{return nt}catch(t){}})(),(()=>{try{return mt}catch(t){}})(),(()=>{try{return it}catch(t){}})(),(()=>{try{return st}catch(t){}})(),(()=>{try{return ut}catch(t){}})(),(()=>{try{return pt}catch(t){}})(),(()=>{try{return ft}catch(t){}})(),(()=>{try{return yt}catch(t){}})(),(()=>{try{return ht}catch(t){}})(),(()=>{try{return dt}catch(t){}})(),(()=>{try{return gt}catch(t){}})(),(()=>{try{return Ct}catch(t){}})()]).then(()=>h(void 0,null,function*(){const t=R({components:{BasicTable:v},setup(){const r=m(!1),l=m(!1),c=m(!0),n=m(!0),o=m(!1);function a(){r.value=!r.value}function _(){c.value=!c.value}function f(){l.value=!0,setTimeout(()=>{l.value=!1,o.value={pageSize:20}},3e3)}function C(){n.value=!n.value}function b(vt){}return{columns:z(),data:B(),canResize:r,loading:l,striped:c,border:n,toggleStriped:_,toggleCanResize:a,toggleLoading:f,toggleBorder:C,pagination:o,handleColumnChange:b}}}),p={class:"p-4"};function e(r,l,c,n,o,a){const _=d("a-button"),f=d("BasicTable");return T(),w("div",p,[i(f,{title:"\u57FA\u7840\u793A\u4F8B",titleHelpMessage:"\u6E29\u99A8\u63D0\u9192",columns:r.columns,dataSource:r.data,canResize:r.canResize,loading:r.loading,striped:r.striped,bordered:r.border,showTableSetting:"",pagination:r.pagination,onColumnsChange:r.handleColumnChange},{toolbar:s(()=>[i(_,{type:"primary",onClick:r.toggleCanResize},{default:s(()=>[u(y(r.canResize?"\u53D6\u6D88\u81EA\u9002\u5E94":"\u81EA\u9002\u5E94\u9AD8\u5EA6"),1)]),_:1},8,["onClick"]),i(_,{type:"primary",onClick:r.toggleBorder},{default:s(()=>[u(y(r.border?"\u9690\u85CF\u8FB9\u6846":"\u663E\u793A\u8FB9\u6846"),1)]),_:1},8,["onClick"]),i(_,{type:"primary",onClick:r.toggleLoading},{default:s(()=>[u(" \u5F00\u542Floading ")]),_:1},8,["onClick"]),i(_,{type:"primary",onClick:r.toggleStriped},{default:s(()=>[u(y(r.striped?"\u9690\u85CF\u6591\u9A6C\u7EB9":"\u663E\u793A\u6591\u9A6C\u7EB9"),1)]),_:1},8,["onClick"])]),_:1},8,["columns","dataSource","canResize","loading","striped","bordered","pagination","onColumnsChange"])])}g=S(t,[["render",e]])}));export{bt as __tla,g as default};