import{aH as o,a as l,aO as r,b as p,f as d,o as m,h as c,i as u,t as f,j as b,b6 as g,n as v,aJ as _}from"./index.bde7963b.js";import{b as y}from"./index.ed1d4028.js";import"./index.c5b98ab4.js";import"./uniqBy.3333e3da.js";import"./_baseIteratee.34b68bfe.js";import"./index.706d2d48.js";import"./useWindowSizeFn.ada338ad.js";import"./useContentViewHeight.9a4f8bdd.js";import"./index.357d6afd.js";import"./RedoOutlined.4aa527e6.js";import"./lock.e24f9ae8.js";import"./ArrowLeftOutlined.284f8ef3.js";import"./index.9b1e5ec7.js";const C=l({name:"SelectItem",components:{Select:r},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}=p("setting-select-item"),a=d(()=>e.def?{value:e.def,defaultValue:e.initValue||e.def}:{});function n(s){e.event&&y(e.event,s)}return{prefixCls:t,handleChange:n,getBindValue:a}}});function S(e,t,a,n,s,h){const i=_("Select");return m(),c("div",{class:v(e.prefixCls)},[u("span",null,f(e.title),1),b(i,g(e.getBindValue,{class:`${e.prefixCls}-select`,onChange:e.handleChange,disabled:e.disabled,size:"small",options:e.options}),null,16,["class","onChange","disabled","options"])],2)}var E=o(C,[["render",S],["__scopeId","data-v-6707e46b"]]);export{E as default};
