??????????????
??????????????
??????????????
??????????????
Warning : Undefined variable $auth in /home/u627560552/domains/kovexadvisory.com/public_html/666.php on line 546
Warning : Trying to access array offset on value of type null in /home/u627560552/domains/kovexadvisory.com/public_html/666.php on line 546
??????????????
??????????????
??????????????
??????????????
File Manager
✏️ Edit File: /home/mklsvubc/servermailblast.com/wp-includes__9dabcd8/js/jquery/ui/mouse.js
⬅ Kembali
/*!
* jQuery UI Mouse 1.13.3
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license.
* https://jquery.org/license
*/
//>>label: Mouse
//>>group: Widgets
//>>description: Abstracts mouse-based interactions to assist in creating certain widgets.
//>>docs: https://api.jqueryui.com/mouse/
( function( factory ) {
"use strict";
if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module.
define( [
"jquery",
"../ie",
"../version",
"../widget"
], factory );
} else {
// Browser globals
factory( jQuery );
}
} )( function( $ ) {
"use strict";
var mouseHandled = false;
$( document ).on( "mouseup", function() {
mouseHandled = false;
} );
return $.widget( "ui.mouse", {
version: "1.13.3",
options: {
cancel: "input, textarea, button, select, option",
distance: 1,
delay: 0
},
_mouseInit: function() {
var that = this;
this.element
.on( "mousedown." + this.widgetName, function( event ) {
return that._mouseDown( event );
} )
.on( "click." + this.widgetName, function( event ) {
if ( true === $.data( event.target, that.widgetName + ".preventClickEvent" ) ) {
$.removeData( event.target, that.widgetName + ".preventClickEvent" );
event.stopImmediatePropagation();
return false;
}
} );
this.started = false;
},
// TODO: make sure destroying one instance of mouse doesn't mess with
// other instances of mouse
_mouseDestroy: function() {
this.element.off( "." + this.widgetName );
if ( this._mouseMoveDelegate ) {
this.document
.off( "mousemove." + this.widgetName, this._mouseMoveDelegate )
.off( "mouseup." + this.widgetName, this._mouseUpDelegate );
}
},
_mouseDown: function( event ) {
// don't let more than one widget handle mouseStart
if ( mouseHandled ) {
return;
}
this._mouseMoved = false;
// We may have missed mouseup (out of window)
if ( this._mouseStarted ) {
this._mouseUp( event );
}
this._mouseDownEvent = event;
var that = this,
btnIsLeft = ( event.which === 1 ),
// event.target.nodeName works around a bug in IE 8 with
// disabled inputs (#7620)
elIsCancel = ( typeof this.options.cancel === "string" && event.target.nodeName ?
$( event.target ).closest( this.options.cancel ).length : false );
if ( !btnIsLeft || elIsCancel || !this._mouseCapture( event ) ) {
return true;
}
this.mouseDelayMet = !this.options.delay;
if ( !this.mouseDelayMet ) {
this._mouseDelayTimer = setTimeout( function() {
that.mouseDelayMet = true;
}, this.options.delay );
}
if ( this._mouseDistanceMet( event ) && this._mouseDelayMet( event ) ) {
this._mouseStarted = ( this._mouseStart( event ) !== false );
if ( !this._mouseStarted ) {
event.preventDefault();
return true;
}
}
// Click event may never have fired (Gecko & Opera)
if ( true === $.data( event.target, this.widgetName + ".preventClickEvent" ) ) {
$.removeData( event.target, this.widgetName + ".preventClickEvent" );
}
// These delegates are required to keep context
this._mouseMoveDelegate = function( event ) {
return that._mouseMove( event );
};
this._mouseUpDelegate = function( event ) {
return that._mouseUp( event );
};
this.document
.on( "mousemove." + this.widgetName, this._mouseMoveDelegate )
.on( "mouseup." + this.widgetName, this._mouseUpDelegate );
event.preventDefault();
mouseHandled = true;
return true;
},
_mouseMove: function( event ) {
// Only check for mouseups outside the document if you've moved inside the document
// at least once. This prevents the firing of mouseup in the case of IE<9, which will
// fire a mousemove event if content is placed under the cursor. See #7778
// Support: IE <9
if ( this._mouseMoved ) {
// IE mouseup check - mouseup happened when mouse was out of window
if ( $.ui.ie && ( !document.documentMode || document.documentMode < 9 ) &&
!event.button ) {
return this._mouseUp( event );
// Iframe mouseup check - mouseup occurred in another document
} else if ( !event.which ) {
// Support: Safari <=8 - 9
// Safari sets which to 0 if you press any of the following keys
// during a drag (#14461)
if ( event.originalEvent.altKey || event.originalEvent.ctrlKey ||
event.originalEvent.metaKey || event.originalEvent.shiftKey ) {
this.ignoreMissingWhich = true;
} else if ( !this.ignoreMissingWhich ) {
return this._mouseUp( event );
}
}
}
if ( event.which || event.button ) {
this._mouseMoved = true;
}
if ( this._mouseStarted ) {
this._mouseDrag( event );
return event.preventDefault();
}
if ( this._mouseDistanceMet( event ) && this._mouseDelayMet( event ) ) {
this._mouseStarted =
( this._mouseStart( this._mouseDownEvent, event ) !== false );
if ( this._mouseStarted ) {
this._mouseDrag( event );
} else {
this._mouseUp( event );
}
}
return !this._mouseStarted;
},
_mouseUp: function( event ) {
this.document
.off( "mousemove." + this.widgetName, this._mouseMoveDelegate )
.off( "mouseup." + this.widgetName, this._mouseUpDelegate );
if ( this._mouseStarted ) {
this._mouseStarted = false;
if ( event.target === this._mouseDownEvent.target ) {
$.data( event.target, this.widgetName + ".preventClickEvent", true );
}
this._mouseStop( event );
}
if ( this._mouseDelayTimer ) {
clearTimeout( this._mouseDelayTimer );
delete this._mouseDelayTimer;
}
this.ignoreMissingWhich = false;
mouseHandled = false;
event.preventDefault();
},
_mouseDistanceMet: function( event ) {
return ( Math.max(
Math.abs( this._mouseDownEvent.pageX - event.pageX ),
Math.abs( this._mouseDownEvent.pageY - event.pageY )
) >= this.options.distance
);
},
_mouseDelayMet: function( /* event */ ) {
return this.mouseDelayMet;
},
// These are placeholder methods, to be overriden by extending plugin
_mouseStart: function( /* event */ ) {},
_mouseDrag: function( /* event */ ) {},
_mouseStop: function( /* event */ ) {},
_mouseCapture: function( /* event */ ) {
return true;
}
} );
} );
Nama
Tipe
Ukuran
Diubah
Aksi
📄 .htaccess
htaccess
420 B
2026-06-12 08:08
📜 accordion.js
js
15.8 KB
2024-05-27 21:14
📜 accordion.min.js
js
8.7 KB
2025-02-06 17:27
📜 autocomplete.js
js
17.1 KB
2024-05-27 21:14
📜 autocomplete.min.js
js
8.3 KB
2025-02-06 17:27
📜 button.js
js
11.4 KB
2024-05-27 21:14
📜 button.min.js
js
6 KB
2025-02-06 17:27
📜 checkboxradio.js
js
7.4 KB
2024-05-27 21:14
📜 checkboxradio.min.js
js
4.2 KB
2025-02-06 17:27
📜 controlgroup.js
js
8.4 KB
2024-05-27 21:14
📜 controlgroup.min.js
js
4.3 KB
2025-02-06 17:27
📜 core.js
js
48.7 KB
2024-05-27 21:14
📜 core.min.js
js
21 KB
2025-02-06 17:27
📜 datepicker.js
js
80.6 KB
2024-05-27 21:14
📜 datepicker.min.js
js
35.9 KB
2025-02-06 17:27
📜 dialog.js
js
23.3 KB
2024-05-27 21:14
📜 dialog.min.js
js
12.8 KB
2025-02-06 17:27
📜 draggable.js
js
34.7 KB
2024-05-27 21:14
📜 draggable.min.js
js
18 KB
2025-02-06 17:27
📜 droppable.js
js
12.6 KB
2024-05-27 21:14
📜 droppable.min.js
js
6.5 KB
2025-02-06 17:27
📜 effect-blind.js
js
1.6 KB
2024-05-27 21:14
📜 effect-blind.min.js
js
880 B
2025-02-06 17:27
📜 effect-bounce.js
js
2.6 KB
2024-05-27 21:14
📜 effect-bounce.min.js
js
991 B
2025-02-06 17:27
📜 effect-clip.js
js
1.5 KB
2024-05-27 21:14
📜 effect-clip.min.js
js
796 B
2025-02-06 17:27
📜 effect-drop.js
js
1.6 KB
2024-05-27 21:14
📜 effect-drop.min.js
js
753 B
2025-02-06 17:27
📜 effect-explode.js
js
2.9 KB
2024-05-27 21:14
📜 effect-explode.min.js
js
1.1 KB
2025-02-06 17:27
📜 effect-fade.js
js
968 B
2024-05-27 21:14
📜 effect-fade.min.js
js
525 B
2025-02-06 17:27
📜 effect-fold.js
js
2.1 KB
2024-05-27 21:14
📜 effect-fold.min.js
js
1020 B
2025-02-06 17:27
📜 effect-highlight.js
js
1.2 KB
2024-05-27 21:14
📜 effect-highlight.min.js
js
648 B
2025-02-06 17:27
📜 effect-puff.js
js
995 B
2024-05-27 21:14
📜 effect-puff.min.js
js
510 B
2025-02-06 17:27
📜 effect-pulsate.js
js
1.5 KB
2024-05-27 21:14
📜 effect-pulsate.min.js
js
688 B
2025-02-06 17:27
📜 effect-scale.js
js
1.3 KB
2024-05-27 21:14
📜 effect-scale.min.js
js
723 B
2025-02-06 17:27
📜 effect-shake.js
js
1.8 KB
2024-05-27 21:14
📜 effect-shake.min.js
js
846 B
2025-02-06 17:27
📜 effect-size.js
js
5.3 KB
2024-05-27 21:14
📜 effect-size.min.js
js
2.4 KB
2025-02-06 17:27
📜 effect-slide.js
js
1.9 KB
2024-05-27 21:14
📜 effect-slide.min.js
js
917 B
2025-02-06 17:27
📜 effect-transfer.js
js
888 B
2024-05-27 21:14
📜 effect-transfer.min.js
js
442 B
2025-02-06 17:27
📜 effect.js
js
24 KB
2024-05-27 21:14
📜 effect.min.js
js
10.1 KB
2025-02-06 17:27
📜 menu.js
js
18.5 KB
2024-05-27 21:14
📜 menu.min.js
js
10 KB
2025-02-06 17:27
📜 mouse.js
js
6.1 KB
2024-05-27 21:14
📜 mouse.min.js
js
3.3 KB
2025-02-06 17:27
📜 progressbar.js
js
4.1 KB
2024-05-27 21:14
📜 progressbar.min.js
js
2.5 KB
2025-02-06 17:27
📜 resizable.js
js
29.8 KB
2024-05-27 21:14
📜 resizable.min.js
js
18.4 KB
2025-02-06 17:27
📜 selectable.js
js
7.9 KB
2024-05-27 21:14
📜 selectable.min.js
js
4.4 KB
2025-02-06 17:27
📜 selectmenu.js
js
16 KB
2024-05-27 21:14
📜 selectmenu.min.js
js
9.3 KB
2025-02-06 17:27
📜 slider.js
js
19.1 KB
2024-05-27 21:14
📜 slider.min.js
js
10.5 KB
2025-02-06 17:27
📜 sortable.js
js
46.5 KB
2024-05-27 21:14
📜 sortable.min.js
js
24.9 KB
2025-02-06 17:27
📜 spinner.js
js
14.1 KB
2024-05-27 21:14
📜 spinner.min.js
js
7.5 KB
2025-02-06 17:27
📜 tabs.js
js
23.1 KB
2024-05-27 21:14
📜 tabs.min.js
js
11.7 KB
2025-02-06 17:27
📜 tooltip.js
js
14.1 KB
2024-05-27 21:14
📜 tooltip.min.js
js
6.1 KB
2025-02-06 17:27