import e from"../button/index.mjs";import{createVNode as t}from"vue";import{LeftOutlined as n,RightOutlined as r}from"@antsoo-lib/icons";function i(){}var a=a=>{let{disabled:o,moveToLeft:s=i,moveToRight:c=i,leftArrowText:l=``,rightArrowText:u=``,leftActive:d,rightActive:f,class:p,style:m,direction:h,oneWay:g}=a;return t(`div`,{class:p,style:m},[t(e,{type:`primary`,size:`small`,disabled:o||!f,onClick:c,icon:t(h===`rtl`?n:r,null,null)},{default:()=>[u]}),!g&&t(e,{type:`primary`,size:`small`,disabled:o||!d,onClick:s,icon:t(h===`rtl`?r:n,null,null)},{default:()=>[l]})])};a.displayName=`Operation`,a.inheritAttrs=!1;export{a as default};