const e=require("../_util/type.js"),t=require("../_util/classNames.js"),n=require("../locale/en_US.js"),r=require("../locale-provider/LocaleReceiver.js"),i=require("../_util/vue-types/index.js"),a=require("../checkbox/index.js"),o=require("../_util/transButton.js");let s=require("vue"),c=require("@antsoo-lib/icons");function l(){}var u={renderedText:i.default.any,renderedEl:i.default.any,item:i.default.any,checked:e.booleanType(),prefixCls:String,disabled:e.booleanType(),showRemove:e.booleanType(),onClick:Function,onRemove:Function},d=(0,s.defineComponent)({compatConfig:{MODE:3},name:`ListItem`,inheritAttrs:!1,props:u,emits:[`click`,`remove`],setup(e,{emit:i}){return()=>{let{renderedText:u,renderedEl:d,item:f,checked:p,disabled:m,prefixCls:h,showRemove:g}=e,_=t.default({[`${h}-content-item`]:!0,[`${h}-content-item-disabled`]:m||f.disabled}),v;return(typeof u==`string`||typeof u==`number`)&&(v=String(u)),(0,s.createVNode)(r.default,{componentName:`Transfer`,defaultLocale:n.default.Transfer},{default:e=>{let t=(0,s.createVNode)(`span`,{class:`${h}-content-item-text`},[d]);return g?(0,s.createVNode)(`li`,{class:_,title:v},[t,(0,s.createVNode)(o.default,{disabled:m||f.disabled,class:`${h}-content-item-remove`,"aria-label":e.remove,onClick:()=>{i(`remove`,f)}},{default:()=>[(0,s.createVNode)(c.DeleteOutlined,null,null)]})]):(0,s.createVNode)(`li`,{class:_,title:v,onClick:m||f.disabled?l:()=>{i(`click`,f)}},[(0,s.createVNode)(a.default,{class:`${h}-checkbox`,checked:p,disabled:m||f.disabled},null),t])}})}}});exports.default=d,exports.transferListItemProps=u;