"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),v=require("@ant-design/icons-vue/CloseOutlined"),N=require("@ant-design/icons-vue/LeftOutlined"),w=require("@ant-design/icons-vue/RightOutlined"),g=require("@ant-design/icons-vue/RotateLeftOutlined"),q=require("@ant-design/icons-vue/RotateRightOutlined"),l=require("@ant-design/icons-vue/SwapOutlined"),O=require("@ant-design/icons-vue/ZoomInOutlined"),C=require("@ant-design/icons-vue/ZoomOutOutlined"),u=require("../_util/transition.js"),P=require("../_util/type.js"),V=require("../config-provider/hooks/useConfigInject.js"),h=require("../vc-image/src/PreviewGroup.js"),x=require("./style/index.js"),a={rotateLeft:e.createVNode(g,null,null),rotateRight:e.createVNode(q,null,null),zoomIn:e.createVNode(O,null,null),zoomOut:e.createVNode(C,null,null),close:e.createVNode(v,null,null),left:e.createVNode(N,null,null),right:e.createVNode(w,null,null),flipX:e.createVNode(l,null,null),flipY:e.createVNode(l,{rotate:90},null)},I=()=>({previewPrefixCls:String,preview:P.anyType()}),R=e.defineComponent({compatConfig:{MODE:3},name:"AImagePreviewGroup",inheritAttrs:!1,props:I(),setup(r,{attrs:s,slots:c}){const{prefixCls:o,rootPrefixCls:i}=V.default("image",r),d=e.computed(()=>`${o.value}-preview`),[p,f]=x.default(o),m=e.computed(()=>{const{preview:t}=r;if(t===!1)return t;const n=typeof t=="object"?t:{};return{...n,rootClassName:f.value,transitionName:u.getTransitionName(i.value,"zoom",n.transitionName),maskTransitionName:u.getTransitionName(i.value,"fade",n.maskTransitionName)}});return()=>p(e.createVNode(h.default,{...s,...r,preview:m.value,icons:a,previewPrefixCls:d.value},c))}});exports.default=R;exports.icons=a;
