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