import{b as i}from"./useNav.5e73c372.js";import{a as d,r as e,I as p,f as a,Z as u,a7 as c,aq as f,b as m,F as g,aw as v}from"./index.4d061c66.js";const b=`
  <path class="path" d="
    M 30 15
    L 28 17
    M 25.61 25.61
    A 15 15, 0, 0, 1, 15 30
    A 15 15, 0, 1, 1, 27.99 7.5
    L 15 15
  "
    style="stroke-width: 4px; fill: rgba(0, 0, 0, 0)"
  />
`,h={title:{type:String,default:"\u5217\u8868"},dataList:{type:Array,default:()=>[]},tableRef:{type:Object,default(){return{}}},loading:{type:Boolean,default:!1}},y=d({name:"TableProBar",props:h,emits:["refresh"],setup(r,{emit:k,slots:o,attrs:s}){e();const n=e([]),t=e("default");return e(!0),p(()=>l=>({background:l===t.value?i().epThemeColor:"",color:l===t.value?"#fff":"var(--el-text-color-primary)"})),()=>a(g,null,[u(a("div",f(s,{class:"pl-3 pr-3  pb-1 bg-white dark:bg-dark",style:"width:100%","element-loading-svg":b,"element-loading-svg-view-box":"-10, -10, 50, 50"}),[r.dataList.length>0?o.default({size:t.value,checkList:n.value}):a(m("el-empty"),{description:"\u6682\u65E0\u6570\u636E"},null)]),[[c("loading"),r.loading]])])}}),T=v(y);export{T};
