import{d as m,aZ as p,o,G as u,C as t,j as d,l,aK as c,c as b,F as C,D as f,aL as _,M as E,L as v,a as F,af as T,a_ as x,_ as y}from"./index.js";const V=m({__name:"index",props:{visible:{type:Boolean,required:!0},importColumns:{type:Array,required:!0},columns:{type:Array,required:!0}},setup(n){const a=p(n,"visible");return(r,s)=>(o(),u(l(x),{modelValue:l(a),"onUpdate:modelValue":s[0]||(s[0]=e=>T(a)?a.value=e:null),title:"\u5BFC\u5165\u6A21\u677F\u4E0D\u4E00\u81F4",center:""},{default:t(()=>[d(l(c),{size:"small",border:"",data:[{}]},{default:t(()=>[(o(!0),b(C,null,f(r.columns,(e,i)=>(o(),u(l(_),{label:e,"min-width":20+e.length*15+"px","show-overflow-tooltip":""},{default:t(w=>[E(v(r.importColumns[i]),1)]),_:2},1032,["label","min-width"]))),256))]),_:1}),F(` <p>\u5F53\u524D\u5BFC\u5165\u6A21\u677F:</p>\r
        <ElTable size="small" border>\r
            <ElTableColumn v-for="column in importColumns" :label="column" :min-width="20 + (column.length * 15) + 'px'" />\r
        </ElTable> `)]),_:1},8,["modelValue"]))}});var D=y(V,[["__file","C:/Users/89793/Desktop/projects/ticket-system/src/components/importTableColumn/index.vue"]]);export{D as I};
