import{aP as o,a as r,cT as l,b as p,f as m,aQ as d,o as c,h as u,i as f,t as g,j as b,aU as v,n as _}from"./index.0d073eaa.js";import{b as y}from"./index.428574d8.js";import"./index.c4338a98.js";import"./index.c9bfdeac.js";import"./ArrowLeftOutlined.90d2e05e.js";import"./index.0fb15725.js";import"./index.c15ba425.js";import"./FullscreenOutlined.401a7bcd.js";import"./index.7680e967.js";import"./useWindowSizeFn.ef20ece8.js";import"./useContentViewHeight.01b9d1c6.js";import"./uniqBy.ac0f9c38.js";import"./_baseIteratee.3919e7cf.js";import"./get.49a42f2e.js";import"./index.78efd931.js";import"./useRefs.e81831e2.js";import"./PlusOutlined.64d8e001.js";import"./RedoOutlined.32117fb5.js";import"./index.aa6b7013.js";import"./lock.2102e909.js";const C=r({name:"SelectItem",components:{Select:l},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=m(()=>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=d("Select");return c(),u("div",{class:_(e.prefixCls)},[f("span",null,g(e.title),1),b(i,v(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 G=o(C,[["render",S],["__scopeId","data-v-6707e46b"]]);export{G as default};
