"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),t=require("@antsoo-lib/icons");require("../button/index.js");const o=require("../button/button.js");function n(){}const l=a=>{const{disabled:i,moveToLeft:u=n,moveToRight:d=n,leftArrowText:s="",rightArrowText:c="",leftActive:f,rightActive:m,class:p,style:y,direction:r,oneWay:N}=a;return e.createVNode("div",{class:p,style:y},[e.createVNode(o.default,{type:"primary",size:"small",disabled:i||!m,onClick:d,icon:r!=="rtl"?e.createVNode(t.RightOutlined,null,null):e.createVNode(t.LeftOutlined,null,null)},{default:()=>[c]}),!N&&e.createVNode(o.default,{type:"primary",size:"small",disabled:i||!f,onClick:u,icon:r!=="rtl"?e.createVNode(t.LeftOutlined,null,null):e.createVNode(t.RightOutlined,null,null)},{default:()=>[s]})])};l.displayName="Operation";l.inheritAttrs=!1;exports.default=l;
