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-CahNzUUa.js";import{C as b,_ as S}from"./index-Cy4uayzW.js";import{b as y}from"./index-BQJSeoLx.js";import"./vxe-table-vendor-Cdi8WfTx.js";import"./index-CJ4Xt1FM.js";import"./index-Bdn0r8CG.js";import"./index-CYoRlduV.js";import"./index-DYB8Ashr.js";import"./index-CrdW4fN1.js";import"./useTimeout-gJpgadD6.js";import"./useIntersectionObserver-FVRzwlSd.js";import"./useHeaderSetting-CuqgO3-E.js";import"./useMultipleTabSetting-DhBHiAGf.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};
