import{d as v,f as n,U as o,a2 as r,ad as i,af as s,a4 as l,k as p,G as S,ar as f,q as T,B as _}from"./vue-vendor-CxLCUzY4.js";import{x as R}from"./antd-vue-vendor-CahNzUUa.js";import{P as X}from"./index-D55rh6hR.js";import{E as x,a as E,S as Y,b,c as h,d as B,e as C,f as k,g as w,h as F,i as y,j as $,F as g}from"./index-BZbg0EjM.js";import{_ as P}from"./index-CLZzJyTP.js";import"./useContentHeight-DLfJuPsF.js";import"./useWindowSizeFn-D9PllI8g.js";import"./vxe-table-vendor-Cdi8WfTx.js";import"./useContentViewHeight-BIb_dTbE.js";import"./usePageContext-FyDvfV_K.js";import"./injectionKey-DPVn4AgL.js";const A=["Fade","Scale","SlideY","ScrollY","SlideYReverse","ScrollYReverse","SlideX","ScrollX","SlideXReverse","ScrollXReverse","ScaleRotate","ExpandX","Expand"],N=A.map(e=>({label:e,value:e,key:e})),V=v({components:{Select:R,PageWrapper:X,FadeTransition:g,ScaleTransition:$,SlideYTransition:y,ScrollYTransition:F,SlideYReverseTransition:w,ScrollYReverseTransition:k,SlideXTransition:C,ScrollXTransition:B,SlideXReverseTransition:h,ScrollXReverseTransition:b,ScaleRotateTransition:Y,ExpandXTransition:E,ExpandTransition:x},setup(){const e=n("Fade"),a=n(!0);function t(){a.value=!1,setTimeout(()=>{a.value=!0},300)}return{options:N,value:e,start:t,show:a}}}),W={class:"flex"},D={class:"box"};function U(e,a,t,j,q,G){const c=o("Select"),d=o("a-button"),u=o("PageWrapper");return r(),i(u,{title:"动画组件示例"},{default:s(()=>[l("div",W,[p(c,{options:e.options,value:e.value,"onUpdate:value":a[0]||(a[0]=m=>e.value=m),placeholder:"选择动画",style:{width:"150px"}},null,8,["options","value"]),p(d,{type:"primary",class:"ml-4",onClick:e.start},{default:s(()=>a[1]||(a[1]=[S(" start ")])),_:1},8,["onClick"])]),(r(),i(f(`${e.value}Transition`),null,{default:s(()=>[T(l("div",D,null,512),[[_,e.show]])]),_:1}))]),_:1})}const ae=P(V,[["render",U],["__scopeId","data-v-a3bbc2c6"]]);export{ae as default};
