import{d as i,e as r,U as l,a2 as p,a3 as m,a4 as d,a5 as c,k as u,ag as f,a6 as g}from"./vue-vendor-CxLCUzY4.js";import{x as C}from"./antd-vue-vendor-CDWW6V_M.js";import{C as b,_ as S}from"./index-CYriLmQo.js";import{b as y}from"./index-GjumQ7Np.js";import"./vxe-table-vendor-B5h3MVdD.js";import"./index-qSr7C5NQ.js";import"./index-CxQILSKV.js";import"./index-BRTtls-l.js";import"./index-DOuVMe-q.js";import"./index-ByLO0zSl.js";import"./useTimeout-DC8132dd.js";import"./useIntersectionObserver-FVRzwlSd.js";import"./useHeaderSetting-CXg3DDAh.js";import"./useMultipleTabSetting-Bb15bRQg.js";const h=i({name:"SelectItem",components:{Select:C},props:{event:{type:Number},disabled:{type:Boolean},title:{type:String},def:{type:[String,Number]},initValue:{type:[String,Number]},options:{type:Array,default:()=>[]}},setup(e){const{prefixCls:t}=b("setting-select-item"),a=r(()=>e.def?{value:e.def,defaultValue:e.initValue||e.def}:{});function n(o){e.event&&y(e.event,o)}return{prefixCls:t,handleChange:n,getBindValue:a}}});function v(e,t,a,n,o,V){const s=l("Select");return p(),m("div",{class:g(e.prefixCls)},[d("span",null,c(e.title),1),u(s,f(e.getBindValue,{class:`${e.prefixCls}-select`,onChange:e.handleChange,disabled:e.disabled,size:"small",options:e.options}),null,16,["class","onChange","disabled","options"])],2)}const q=S(h,[["render",v],["__scopeId","data-v-60d38d9d"]]);export{q as default};
