UNPKG

ant-design-x-vue-next

Version:

Ant Design X for Vue — community continuation aligned with @ant-design/x

8 lines (7 loc) 650 B
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=a=>({animationDuration:a,animationFillMode:"both"}),$=a=>({animationDuration:a,animationFillMode:"both"}),m=(a,t,i,n,o=!1)=>{const e=o?"&":"";return{[` ${e}${a}-enter, ${e}${a}-appear `]:{...r(n),animationPlayState:"paused"},[`${e}${a}-leave`]:{...$(n),animationPlayState:"paused"},[` ${e}${a}-enter${a}-enter-active, ${e}${a}-appear${a}-appear-active `]:{animationName:t,animationPlayState:"running"},[`${e}${a}-leave${a}-leave-active`]:{animationName:i,animationPlayState:"running",pointerEvents:"none"}}};exports.initMotion=m;