const e=require("../_util/type.js"),t=require("../config-provider/hooks/useConfigInject.js"),n=require("../_util/transition.js"),r=require("../vc-image/src/PreviewGroup.js"),i=require("./style/index.js");let a=require("vue"),o=require("@antsoo-lib/icons");var s={rotateLeft:(0,a.createVNode)(o.RotateLeftOutlined,null,null),rotateRight:(0,a.createVNode)(o.RotateRightOutlined,null,null),zoomIn:(0,a.createVNode)(o.ZoomInOutlined,null,null),zoomOut:(0,a.createVNode)(o.ZoomOutOutlined,null,null),close:(0,a.createVNode)(o.CloseOutlined,null,null),left:(0,a.createVNode)(o.LeftOutlined,null,null),right:(0,a.createVNode)(o.RightOutlined,null,null),flipX:(0,a.createVNode)(o.SwapOutlined,null,null),flipY:(0,a.createVNode)(o.SwapOutlined,{rotate:90},null)},c=(0,a.defineComponent)({compatConfig:{MODE:3},name:`AImagePreviewGroup`,inheritAttrs:!1,props:{previewPrefixCls:String,preview:e.anyType()},setup(e,{attrs:o,slots:c}){let{prefixCls:l,rootPrefixCls:u}=t.default(`image`,e),d=(0,a.computed)(()=>`${l.value}-preview`),[f,p]=i.default(l),m=(0,a.computed)(()=>{let{preview:t}=e;if(t===!1)return t;let r=typeof t==`object`?t:{};return{...r,rootClassName:p.value,transitionName:n.getTransitionName(u.value,`zoom`,r.transitionName),maskTransitionName:n.getTransitionName(u.value,`fade`,r.maskTransitionName)}});return()=>f((0,a.createVNode)(r.default,{...o,...e,preview:m.value,icons:s,previewPrefixCls:d.value},c))}});exports.default=c,exports.icons=s;