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