ai-form-designer
Version:
vue3+adv的设计器,可视化开发页面表单
40 lines (39 loc) • 1.22 kB
JavaScript
import { c as n } from "./_commonjsHelpers-BVfed4GL.js";
import { d as l, a as p } from "./index-CFbzusj4.js";
var i = {}, u = n && n.__importDefault || function(e) {
return e && e.__esModule ? e : {
default: e
};
};
Object.defineProperty(i, "__esModule", {
value: !0
});
i.fadeInScaleUpTransition = m;
const c = p, $ = u(l), {
cubicBezierEaseIn: r,
cubicBezierEaseOut: o
} = $.default;
function m({
transformOrigin: e = "inherit",
duration: t = ".2s",
enterScale: f = ".9",
originalTransform: s = "",
originalTransition: a = ""
} = {}) {
return [(0, c.c)("&.fade-in-scale-up-transition-leave-active", {
transformOrigin: e,
transition: `opacity ${t} ${r}, transform ${t} ${r} ${a && `,${a}`}`
}), (0, c.c)("&.fade-in-scale-up-transition-enter-active", {
transformOrigin: e,
transition: `opacity ${t} ${o}, transform ${t} ${o} ${a && `,${a}`}`
}), (0, c.c)("&.fade-in-scale-up-transition-enter-from, &.fade-in-scale-up-transition-leave-to", {
opacity: 0,
transform: `${s} scale(${f})`
}), (0, c.c)("&.fade-in-scale-up-transition-leave-from, &.fade-in-scale-up-transition-enter-to", {
opacity: 1,
transform: `${s} scale(1)`
})];
}
export {
i as f
};