let e=require("vue");var t=(0,e.defineComponent)({name:`PresetPanel`,props:{prefixCls:String,presets:{type:Array,default:()=>[]},onClick:Function,onHover:Function},setup(t){return()=>t.presets.length?(0,e.createVNode)(`div`,{class:`${t.prefixCls}-presets`},[(0,e.createVNode)(`ul`,null,[t.presets.map(({label:n,value:r},i)=>(0,e.createVNode)(`li`,{key:i,onClick:e=>{e.stopPropagation(),t.onClick(r)},onMouseenter:()=>{t.onHover?.(r)},onMouseleave:()=>{t.onHover?.(null)}},[n]))])]):null}});exports.default=t;