class r{cancelable=!0;componentId=null;_defaultPrevented=!1;eventType="";nativeEvent=null;_preventDefault;relatedTarget=null;target=null;get defaultPrevented(){return this._defaultPrevented}set defaultPrevented(e){this._defaultPrevented=e}get preventDefault(){return this._preventDefault}set preventDefault(e){this._preventDefault=e}constructor(e,t={}){if(!e)throw new TypeError(`Failed to construct '${this.constructor.name}'. 1 argument required, ${arguments.length} given.`);Object.assign(this,r.Defaults,t,{eventType:e}),this._preventDefault=function(){this.cancelable&&(this.defaultPrevented=!0)}}static get Defaults(){return{cancelable:!0,componentId:null,eventType:"",nativeEvent:null,relatedTarget:null,target:null}}}class u extends r{trigger=null;ok=void 0;constructor(e,t={}){super(e,t),Object.assign(this,r.Defaults,t,{eventType:e})}static get Defaults(){return{...super.Defaults,trigger:null,ok:void 0}}}class i extends r{from;to;direction;constructor(e,t){super(e,t),Object.assign(this,r.Defaults,t,{eventType:e});const{from:l,direction:n,to:a}=t;this.from=l,this.to=a,this.direction=n}static get Defaults(){return{...super.Defaults}}}export{i as B,u as a,r as b};
