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-B_2CoVdl.js";import{b as y}from"./index-mJaUOqVi.js";import"./vxe-table-vendor-B5h3MVdD.js";import"./index-CC3OF1BO.js";import"./index-DAURrYyA.js";import"./index-Dz2zbQB_.js";import"./index-exs4VcBw.js";import"./index-ByLO0zSl.js";import"./useTimeout-CB9F1PLu.js";import"./useIntersectionObserver-FVRzwlSd.js";import"./useHeaderSetting-DD-46f26.js";import"./useMultipleTabSetting-DUkfrN4E.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};
