"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),u=t.defineComponent({name:"PresetPanel",props:{prefixCls:String,presets:{type:Array,default:()=>[]},onClick:Function,onHover:Function},setup(e){return()=>e.presets.length?t.createVNode("div",{class:`${e.prefixCls}-presets`},[t.createVNode("ul",null,[e.presets.map(({label:r,value:n},o)=>t.createVNode("li",{key:o,onClick:l=>{l.stopPropagation(),e.onClick(n)},onMouseenter:()=>{e.onHover?.(n)},onMouseleave:()=>{e.onHover?.(null)}},[r]))])]):null}});exports.default=u;
