"use strict";const r=require("./props.js"),u=require("../../libs/mixin/mpMixin.js"),c=require("../../libs/mixin/mixin.js"),a=require("../../libs/function/index.js"),l=require("./transitionMixin.js"),i=require("../../../../common/vendor.js"),_={name:"u-transition",data(){return{inited:!1,viewStyle:{},status:"",transitionEnded:!1,display:!1,classes:""}},emits:["click","beforeEnter","enter","afterEnter","beforeLeave","leave","afterLeave"],computed:{mergeStyle(){const{viewStyle:e,customStyle:s}=this;return{transitionDuration:`${this.duration}ms`,transitionTimingFunction:this.timingFunction,...a.addStyle(s),...e}}},mixins:[u.mpMixin,c.mixin,l.transitionMixin,r.props],watch:{show:{handler(e){e?this.vueEnter():this.vueLeave()},immediate:!0}}};function m(e,s,p,v,n,o){return i.e({a:n.inited},n.inited?{b:i.o((...t)=>e.clickHandler&&e.clickHandler(...t)),c:i.n(n.classes),d:i.s(o.mergeStyle),e:i.o((...t)=>e.noop&&e.noop(...t))}:{})}const d=i._export_sfc(_,[["render",m],["__scopeId","data-v-5cec8177"]]);wx.createComponent(d);
