UNPKG

igniteui-react-core

Version:
225 lines (224 loc) 6.68 kB
/* THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE: https://www.infragistics.com/legal/license/igultimate-la https://www.infragistics.com/legal/license/igultimate-eula GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company. */ import { Base, markType } from "./type"; /** * @hidden */ export let EventProxy = /*@__PURE__*/ (() => { class EventProxy extends Base { constructor() { super(...arguments); this.onMouseWheel = null; this.onMouseWheelHorizontal = null; this.onPinchStarted = null; this.onPinchDelta = null; this.onGestureCompleted = null; this.onZoomStarted = null; this.onZoomDelta = null; this.onZoomCompleted = null; this.onFlingStarted = null; this.onContactStarted = null; this.onManipulationCancelled = null; this.onDragStarted = null; this.onContactMoved = null; this.onDragDelta = null; this.onContactCompleted = null; this.onDragCompleted = null; this.onMouseLeave = null; this.onMouseOver = null; this.onMouseEnter = null; this.onMouseDown = null; this.onMouseUp = null; this.onDoubleTap = null; this.onHold = null; this.onKeyDown = null; this.onKeyUp = null; this.onGotFocus = null; this.ap = 0; this.bo = null; this.bl = 0; this.am = false; this.an = false; this.aq = null; this.as = null; this.at = null; this.au = null; this.ab = false; this.ac = false; this.ag = false; this.ar = null; } ae(a, b, c) { if (this.as != null) { return this.as(a, b, c); } return this.aq(a); } get_ao() { return false; } get ao() { return this.get_ao(); } get_ad() { return false; } get ad() { return this.get_ad(); } aw() { } ak(a, b) { if (this.onMouseWheel != null && !this.af) { return this.onMouseWheel(a, b); } return false; } al(a, b) { if (this.onMouseWheelHorizontal != null && !this.af) { return this.onMouseWheelHorizontal(a, b); } return false; } bg(a, b) { if (this.onPinchStarted != null && !this.af) { this.onPinchStarted(a, b); } } bj(a, b, c, d) { if (this.onZoomStarted != null && !this.af) { this.onZoomStarted(a, b, c, d); } } ah(a, b, c) { if (this.onFlingStarted != null && !this.af) { return this.onFlingStarted(a, b, c); } return true; } bf(a, b) { if (this.onPinchDelta != null && !this.af) { this.onPinchDelta(a, b); } } bi(a, b, c, d) { if (this.onZoomDelta != null && !this.af) { this.onZoomDelta(a, b, c, d); } } bh(a, b, c, d) { if (this.onZoomCompleted != null && !this.af) { this.onZoomCompleted(a, b, c, d); } } a6(a, b) { if (this.onGestureCompleted != null && !this.af) { this.onGestureCompleted(a, b); } } a9(a) { if (this.onManipulationCancelled != null && !this.af) { this.onManipulationCancelled(a); } } a1(a, b) { if (this.onContactStarted != null && !this.af) { this.onContactStarted(a, b); } } a5(a) { if (this.onDragStarted != null && !this.af) { this.onDragStarted(a); } } a0(a, b) { if (this.onContactMoved != null && !this.af) { this.onContactMoved(a, b); } } a4(a) { if (this.onDragDelta != null && !this.af) { this.onDragDelta(a); } } az(a, b, c) { if (this.onContactCompleted != null && !this.af) { this.an = c; this.onContactCompleted(a, b); this.an = false; } } a3(a) { if (this.onDragCompleted != null && !this.af) { this.onDragCompleted(a); } } bc(a) { if (this.onMouseLeave != null && !this.af) { this.onMouseLeave(a); } } bd(a, b, c) { if (this.onMouseOver != null && !this.af) { this.onMouseOver(a, b, c); } } bb(a) { if (this.onMouseEnter != null && !this.af) { this.onMouseEnter(a); } } ba(a) { if (this.onMouseDown != null && !this.af) { this.onMouseDown(a); } } be(a) { if (this.onMouseUp != null && !this.af) { this.onMouseUp(a); } } ai(a) { if (this.onKeyDown != null && !this.af) { return this.onKeyDown(a); } return false; } aj(a) { if (this.onKeyUp != null && !this.af) { return this.onKeyUp(a); } return false; } a7(a) { if (this.onGotFocus != null && !this.af) { this.onGotFocus(a); } } a2(a) { if (this.onDoubleTap != null && !this.af) { this.onDoubleTap(a); } } a8(a) { if (this.onHold != null && !this.af) { this.onHold(a); } } get af() { return this.ab; } set af(a) { this.ab = a; this.ay(); } ay() { } } EventProxy.$t = /*@__PURE__*/ markType(EventProxy, 'EventProxy'); return EventProxy; })();