Version 4.7.13

This commit is contained in:
Neo committed 2025-12-19 16:14:56 -08:00
1 parent fd22d99e69
commit 7124a02564
954 files changed
+29277 -59308

No files matched your search

+3 -3
View File
@@ -1,6 +1,6 @@
/*! jQuery UI - v1.13.1 - 2022-03-21
/*! jQuery UI - v1.13.2 - 2023-06-14
* http://jqueryui.com
* Includes: widget.js, position.js, data.js, disable-selection.js, keycode.js, scroll-parent.js, unique-id.js, widgets/draggable.js, widgets/droppable.js, widgets/resizable.js, widgets/selectable.js, widgets/sortable.js, widgets/datepicker.js, widgets/mouse.js, widgets/progressbar.js, effect.js, effects/effect-blind.js, effects/effect-bounce.js, effects/effect-clip.js, effects/effect-drop.js, effects/effect-explode.js, effects/effect-fade.js, effects/effect-fold.js, effects/effect-highlight.js, effects/effect-puff.js, effects/effect-pulsate.js, effects/effect-scale.js, effects/effect-shake.js, effects/effect-size.js, effects/effect-slide.js, effects/effect-transfer.js
* Includes: widget.js, position.js, data.js, disable-selection.js, jquery-patch.js, keycode.js, scroll-parent.js, unique-id.js, widgets/draggable.js, widgets/droppable.js, widgets/resizable.js, widgets/selectable.js, widgets/sortable.js, widgets/datepicker.js, widgets/mouse.js, widgets/progressbar.js, effect.js, effects/effect-blind.js, effects/effect-bounce.js, effects/effect-clip.js, effects/effect-drop.js, effects/effect-explode.js, effects/effect-fade.js, effects/effect-fold.js, effects/effect-highlight.js, effects/effect-puff.js, effects/effect-pulsate.js, effects/effect-scale.js, effects/effect-shake.js, effects/effect-size.js, effects/effect-slide.js, effects/effect-transfer.js
* Copyright jQuery Foundation and other contributors; Licensed MIT */
!function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(q){"use strict";q.ui=q.ui||{};q.ui.version="1.13.1";var n,i=0,r=Array.prototype.hasOwnProperty,a=Array.prototype.slice;q.cleanData=(n=q.cleanData,function(t){for(var e,i,s=0;null!=(i=t[s]);s++)(e=q._data(i,"events"))&&e.remove&&q(i).triggerHandler("remove");n(t)}),q.widget=function(t,i,e){var s,n,o,r={},a=t.split(".")[0],h=a+"-"+(t=t.split(".")[1]);return e||(e=i,i=q.Widget),Array.isArray(e)&&(e=q.extend.apply(null,[{}].concat(e))),q.expr.pseudos[h.toLowerCase()]=function(t){return!!q.data(t,h)},q[a]=q[a]||{},s=q[a][t],n=q[a][t]=function(t,e){if(!this||!this._createWidget)return new n(t,e);arguments.length&&this._createWidget(t,e)},q.extend(n,s,{version:e.version,_proto:q.extend({},e),_childConstructors:[]}),(o=new i).options=q.widget.extend({},o.options),q.each(e,function(e,s){function n(){return i.prototype[e].apply(this,arguments)}function o(t){return i.prototype[e].apply(this,t)}r[e]="function"==typeof s?function(){var t,e=this._super,i=this._superApply;return this._super=n,this._superApply=o,t=s.apply(this,arguments),this._super=e,this._superApply=i,t}:s}),n.prototype=q.widget.extend(o,{widgetEventPrefix:s&&o.widgetEventPrefix||t},r,{constructor:n,namespace:a,widgetName:t,widgetFullName:h}),s?(q.each(s._childConstructors,function(t,e){var i=e.prototype;q.widget(i.namespace+"."+i.widgetName,n,e._proto)}),delete s._childConstructors):i._childConstructors.push(n),q.widget.bridge(t,n),n},q.widget.extend=function(t){for(var e,i,s=a.call(arguments,1),n=0,o=s.length;n<o;n++)for(e in s[n])i=s[n][e],r.call(s[n],e)&&void 0!==i&&(q.isPlainObject(i)?t[e]=q.isPlainObject(t[e])?q.widget.extend({},t[e],i):q.widget.extend({},i):t[e]=i);return t},q.widget.bridge=function(o,e){var r=e.prototype.widgetFullName||o;q.fn[o]=function(i){var t="string"==typeof i,s=a.call(arguments,1),n=this;return t?this.length||"instance"!==i?this.each(function(){var t,e=q.data(this,r);return"instance"===i?(n=e,!1):e?"function"!=typeof e[i]||"_"===i.charAt(0)?q.error("no such method '"+i+"' for "+o+" widget instance"):(t=e[i].apply(e,s))!==e&&void 0!==t?(n=t&&t.jquery?n.pushStack(t.get()):t,!1):void 0:q.error("cannot call methods on "+o+" prior to initialization; attempted to call method '"+i+"'")}):n=void 0:(s.length&&(i=q.widget.extend.apply(null,[i].concat(s))),this.each(function(){var t=q.data(this,r);t?(t.option(i||{}),t._init&&t._init()):q.data(this,r,new e(i,this))})),n}},q.Widget=function(){},q.Widget._childConstructors=[],q.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(t,e){e=q(e||this.defaultElement||this)[0],this.element=q(e),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=q(),this.hoverable=q(),this.focusable=q(),this.classesElementLookup={},e!==this&&(q.data(e,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===e&&this.destroy()}}),this.document=q(e.style?e.ownerDocument:e.document||e),this.window=q(this.document[0].defaultView||this.document[0].parentWindow)),this.options=q.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:q.noop,_create:q.noop,_init:q.noop,destroy:function(){var i=this;this._destroy(),q.each(this.classesElementLookup,function(t,e){i._removeClass(e,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:q.noop,widget:function(){return this.element},option:function(t,e){var i,s,n,o=t;if(0===arguments.length)return q.widget.extend({},this.options);if("string"==typeof t)if(o={},t=(i=t.split(".")).shift(),i.length){for(s=o[t]=q.widget.extend({},this.options[t]),n=0;n<i.length-1;n++)s[i[n]]=s[i[n]]||{},s=s[i[n]];if(t=i.pop(),1===arguments.length)return void 0===s[t]?null:s[t];s[t]=e}else{if(1===arguments.length)return void 0===this.options[t]?null:this.options[t];o[t]=e}return this._setOptions(o),this},_setOptions:function(t){for(var e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return"classes"===t&&this._setOptionClasses(e),this.options[t]=e,"disabled"===t&&this._setOptionDisabled(e),this},_setOptionClasses:function(t){var e,i,s;for(e in t)s=this.classesElementLookup[e],t[e]!==this.options.classes[e]&&s&&s.length&&(i=q(s.get()),this._removeClass(s,e),i.addClass(this._classes({element:i,keys:e,classes:t,add:!0})))},_setOptionDisabled:function(t){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!t),t&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({diLine truncated
!function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(X){"use strict";X.ui=X.ui||{};X.ui.version="1.13.2";var n,i=0,r=Array.prototype.hasOwnProperty,a=Array.prototype.slice;X.cleanData=(n=X.cleanData,function(t){for(var e,i,s=0;null!=(i=t[s]);s++)(e=X._data(i,"events"))&&e.remove&&X(i).triggerHandler("remove");n(t)}),X.widget=function(t,i,e){var s,n,o,r={},a=t.split(".")[0],h=a+"-"+(t=t.split(".")[1]);return e||(e=i,i=X.Widget),Array.isArray(e)&&(e=X.extend.apply(null,[{}].concat(e))),X.expr.pseudos[h.toLowerCase()]=function(t){return!!X.data(t,h)},X[a]=X[a]||{},s=X[a][t],n=X[a][t]=function(t,e){if(!this||!this._createWidget)return new n(t,e);arguments.length&&this._createWidget(t,e)},X.extend(n,s,{version:e.version,_proto:X.extend({},e),_childConstructors:[]}),(o=new i).options=X.widget.extend({},o.options),X.each(e,function(e,s){function n(){return i.prototype[e].apply(this,arguments)}function o(t){return i.prototype[e].apply(this,t)}r[e]="function"==typeof s?function(){var t,e=this._super,i=this._superApply;return this._super=n,this._superApply=o,t=s.apply(this,arguments),this._super=e,this._superApply=i,t}:s}),n.prototype=X.widget.extend(o,{widgetEventPrefix:s&&o.widgetEventPrefix||t},r,{constructor:n,namespace:a,widgetName:t,widgetFullName:h}),s?(X.each(s._childConstructors,function(t,e){var i=e.prototype;X.widget(i.namespace+"."+i.widgetName,n,e._proto)}),delete s._childConstructors):i._childConstructors.push(n),X.widget.bridge(t,n),n},X.widget.extend=function(t){for(var e,i,s=a.call(arguments,1),n=0,o=s.length;n<o;n++)for(e in s[n])i=s[n][e],r.call(s[n],e)&&void 0!==i&&(X.isPlainObject(i)?t[e]=X.isPlainObject(t[e])?X.widget.extend({},t[e],i):X.widget.extend({},i):t[e]=i);return t},X.widget.bridge=function(o,e){var r=e.prototype.widgetFullName||o;X.fn[o]=function(i){var t="string"==typeof i,s=a.call(arguments,1),n=this;return t?this.length||"instance"!==i?this.each(function(){var t,e=X.data(this,r);return"instance"===i?(n=e,!1):e?"function"!=typeof e[i]||"_"===i.charAt(0)?X.error("no such method '"+i+"' for "+o+" widget instance"):(t=e[i].apply(e,s))!==e&&void 0!==t?(n=t&&t.jquery?n.pushStack(t.get()):t,!1):void 0:X.error("cannot call methods on "+o+" prior to initialization; attempted to call method '"+i+"'")}):n=void 0:(s.length&&(i=X.widget.extend.apply(null,[i].concat(s))),this.each(function(){var t=X.data(this,r);t?(t.option(i||{}),t._init&&t._init()):X.data(this,r,new e(i,this))})),n}},X.Widget=function(){},X.Widget._childConstructors=[],X.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(t,e){e=X(e||this.defaultElement||this)[0],this.element=X(e),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=X(),this.hoverable=X(),this.focusable=X(),this.classesElementLookup={},e!==this&&(X.data(e,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===e&&this.destroy()}}),this.document=X(e.style?e.ownerDocument:e.document||e),this.window=X(this.document[0].defaultView||this.document[0].parentWindow)),this.options=X.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:X.noop,_create:X.noop,_init:X.noop,destroy:function(){var i=this;this._destroy(),X.each(this.classesElementLookup,function(t,e){i._removeClass(e,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:X.noop,widget:function(){return this.element},option:function(t,e){var i,s,n,o=t;if(0===arguments.length)return X.widget.extend({},this.options);if("string"==typeof t)if(o={},t=(i=t.split(".")).shift(),i.length){for(s=o[t]=X.widget.extend({},this.options[t]),n=0;n<i.length-1;n++)s[i[n]]=s[i[n]]||{},s=s[i[n]];if(t=i.pop(),1===arguments.length)return void 0===s[t]?null:s[t];s[t]=e}else{if(1===arguments.length)return void 0===this.options[t]?null:this.options[t];o[t]=e}return this._setOptions(o),this},_setOptions:function(t){for(var e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return"classes"===t&&this._setOptionClasses(e),this.options[t]=e,"disabled"===t&&this._setOptionDisabled(e),this},_setOptionClasses:function(t){var e,i,s;for(e in t)s=this.classesElementLookup[e],t[e]!==this.options.classes[e]&&s&&s.length&&(i=X(s.get()),this._removeClass(s,e),i.addClass(this._classes({element:i,keys:e,classes:t,add:!0})))},_setOptionDisabled:function(t){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!t),t&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({diLine truncated