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