text: import{c as e}from"./index.06582e88.js";import{b as i}from"./index.b5d73e0d.js";import{y as t,bE as s,Z as r,B as n,F as o,a6 as a,an as d,v as p}from"./vendor.3dc066e5.js";import"./index.2fd70132.js";import"./index.b26d0122.js";import"./useWindowSizeFn.308e6090.js";import"./useContentViewHeight.efd2f5af.js";/* empty css              */import"./useSortable.547027b2.js";import"./lock.28f145c1.js";/* empty css              */var l=t({name:"ThemeColorPicker",components:{CheckOutlined:s},props:{colorList:{type:Array,defualt:[]},event:{type:Number},def:{type:String}},setup(t){const{prefixCls:s}=e("setting-theme-picker");return{prefixCls:s,handleClick:function(e){t.event&&i(t.event,e)}}}});l.render=function(e,i,t,s,l,c){const m=r("CheckOutlined");return n(),o("div",{class:e.prefixCls},[(n(!0),o(a,null,d(e.colorList||[],(i=>(n(),o("span",{key:i,onClick:t=>e.handleClick(i),class:[`${e.prefixCls}__item`,{[`${e.prefixCls}__item--active`]:e.def===i}],style:{background:i}},[p(m)],14,["onClick"])))),128))],2)};export default l;
  