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