All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.resources.bower_components.blueimpfileupload.js.vendor.jquery.ui.widget.min.js Maven / Gradle / Ivy

/*! jQuery UI - v1.12.1+CommonJS - 2018-02-10
 * http://jqueryui.com
 * Includes: widget.js
 * Copyright jQuery Foundation and other contributors; Licensed MIT */
(function(a){if(typeof define==="function"&&define.amd){define(["jquery"],a)}else{if(typeof exports==="object"){a(require("jquery"))}else{a(jQuery)}}}(function(d){d.ui=d.ui||{};var b=d.ui.version="1.12.1";
/*!
   * jQuery UI Widget 1.12.1
   * http://jqueryui.com
   *
   * Copyright jQuery Foundation and other contributors
   * Released under the MIT license.
   * http://jquery.org/license
   */
;var e=0;var a=Array.prototype.slice;d.cleanData=(function(f){return function(g){var j,k,h;for(h=0;(k=g[h])!=null;h++){try{j=d._data(k,"events");if(j&&j.remove){d(k).triggerHandler("remove")}}catch(l){}}f(g)}})(d.cleanData);d.widget=function(f,g,n){var l,i,m;var h={};var k=f.split(".")[0];f=f.split(".")[1];var j=k+"-"+f;if(!n){n=g;g=d.Widget}if(d.isArray(n)){n=d.extend.apply(null,[{}].concat(n))}d.expr[":"][j.toLowerCase()]=function(o){return !!d.data(o,j)};d[k]=d[k]||{};l=d[k][f];i=d[k][f]=function(o,p){if(!this._createWidget){return new i(o,p)}if(arguments.length){this._createWidget(o,p)}};d.extend(i,l,{version:n.version,_proto:d.extend({},n),_childConstructors:[]});m=new g();m.options=d.widget.extend({},m.options);d.each(n,function(p,o){if(!d.isFunction(o)){h[p]=o;return}h[p]=(function(){function q(){return g.prototype[p].apply(this,arguments)}function r(s){return g.prototype[p].apply(this,s)}return function(){var u=this._super;var s=this._superApply;var t;this._super=q;this._superApply=r;t=o.apply(this,arguments);this._super=u;this._superApply=s;return t}})()});i.prototype=d.widget.extend(m,{widgetEventPrefix:l?(m.widgetEventPrefix||f):f},h,{constructor:i,namespace:k,widgetName:f,widgetFullName:j});if(l){d.each(l._childConstructors,function(p,q){var o=q.prototype;d.widget(o.namespace+"."+o.widgetName,i,q._proto)});delete l._childConstructors}else{g._childConstructors.push(i)}d.widget.bridge(f,i);return i};d.widget.extend=function(k){var g=a.call(arguments,1);var j=0;var f=g.length;var h;var i;for(;j",options:{classes:{},disabled:false,create:null},_createWidget:function(f,g){g=d(g||this.defaultElement||this)[0];this.element=d(g);this.uuid=e++;this.eventNamespace="."+this.widgetName+this.uuid;this.bindings=d();this.hoverable=d();this.focusable=d();this.classesElementLookup={};if(g!==this){d.data(g,this.widgetFullName,this);this._on(true,this.element,{remove:function(h){if(h.target===g){this.destroy()}}});this.document=d(g.style?g.ownerDocument:g.document||g);this.window=d(this.document[0].defaultView||this.document[0].parentWindow)}this.options=d.widget.extend({},this.options,this._getCreateOptions(),f);this._create();if(this.options.disabled){this._setOptionDisabled(this.options.disabled)}this._trigger("create",null,this._getCreateEventData());this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:d.noop,_create:d.noop,_init:d.noop,destroy:function(){var f=this;this._destroy();d.each(this.classesElementLookup,function(g,h){f._removeClass(h,g)});this.element.off(this.eventNamespace).removeData(this.widgetFullName);this.widget().off(this.eventNamespace).removeAttr("aria-disabled");this.bindings.off(this.eventNamespace)},_destroy:d.noop,widget:function(){return this.element},option:function(j,k){var f=j;var l;var h;var g;if(arguments.length===0){return d.widget.extend({},this.options)}if(typeof j==="string"){f={};l=j.split(".");j=l.shift();if(l.length){h=f[j]=d.widget.extend({},this.options[j]);for(g=0;g




© 2015 - 2025 Weber Informatics LLC | Privacy Policy