Skip to content

A free open source IT asset/license management system

Updated jquery UI

snipede0565f5b35e
diff --git a/package-lock.json b/package-lock.json
index f4d51c45a3..30770cde8a 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -23,7 +23,7 @@
"ekko-lightbox": "^5.1.1",
"imagemin": "^8.0.1",
"jquery-slimscroll": "^1.3.8",
- "jquery-ui": "^1.13.3",
+ "jquery-ui": "^1.14.0",
"jquery-validation": "^1.21.0",
"jquery.iframe-transport": "^1.0.0",
"jspdf-autotable": "^3.8.2",
@@ -7067,10 +7067,11 @@
"license": "BSD-2-Clause"
},
"node_modules/jquery-ui": {
- "version": "1.13.3",
- "license": "MIT",
+ "version": "1.14.0",
+ "resolved": "https://registry.npmjs.org/jquery-ui/-/jquery-ui-1.14.0.tgz",
+ "integrity": "sha512-mPfYKBoRCf0MzaT2cyW5i3IuZ7PfTITaasO5OFLAQxrHuI+ZxruPa+4/K1OMNT8oElLWGtIxc9aRbyw20BKr8g==",
"dependencies": {
- "jquery": ">=1.8.0 <4.0.0"
+ "jquery": ">=1.12.0 <5.0.0"
}
},
"node_modules/jquery-validation": {
diff --git a/package.json b/package.json
index a36144a17b..d0ce13579d 100644
--- a/package.json
+++ b/package.json
@@ -43,7 +43,7 @@
"ekko-lightbox": "^5.1.1",
"imagemin": "^8.0.1",
"jquery-slimscroll": "^1.3.8",
- "jquery-ui": "^1.13.3",
+ "jquery-ui": "^1.14.0",
"jquery-validation": "^1.21.0",
"jquery.iframe-transport": "^1.0.0",
"jspdf-autotable": "^3.8.2",
diff --git a/public/js/build/app.js b/public/js/build/app.js
index c188a713b4..3c80510129 100644
--- a/public/js/build/app.js
+++ b/public/js/build/app.js
@@ -4047,7 +4047,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
$.ui = $.ui || {};
-return $.ui.version = "1.13.3";
+return $.ui.version = "1.14.0";
} );
@@ -4061,7 +4061,7 @@ return $.ui.version = "1.13.3";
/***/ ((module, exports, __webpack_require__) => {
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
- * jQuery UI Widget 1.13.3
+ * jQuery UI Widget 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
diff --git a/public/js/build/vendor.js b/public/js/build/vendor.js
index 102713f1f3..6f934b73d0 100644
--- a/public/js/build/vendor.js
+++ b/public/js/build/vendor.js
@@ -12707,14 +12707,14 @@ return Tether;
}));
-/*! jQuery UI - v1.13.3 - 2024-04-26
+/*! jQuery UI - v1.14.0 - 2024-08-05
* https://jqueryui.com
* Includes: widget.js, position.js, data.js, disable-selection.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, focusable.js, form-reset-mixin.js, jquery-patch.js, keycode.js, labels.js, scroll-parent.js, tabbable.js, unique-id.js, widgets/accordion.js, widgets/autocomplete.js, widgets/button.js, widgets/checkboxradio.js, widgets/controlgroup.js, widgets/datepicker.js, widgets/dialog.js, widgets/draggable.js, widgets/droppable.js, widgets/menu.js, widgets/mouse.js, widgets/progressbar.js, widgets/resizable.js, widgets/selectable.js, widgets/selectmenu.js, widgets/slider.js, widgets/sortable.js, widgets/spinner.js, widgets/tabs.js, widgets/tooltip.js
* Copyright OpenJS Foundation and other contributors; Licensed MIT */
( function( factory ) {
"use strict";
-
+
if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module.
@@ -12729,11 +12729,11 @@ return Tether;
$.ui = $.ui || {};
-var version = $.ui.version = "1.13.3";
+var version = $.ui.version = "1.14.0";
/*!
- * jQuery UI Widget 1.13.3
+ * jQuery UI Widget 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -13475,7 +13475,7 @@ var widget = $.widget;
/*!
- * jQuery UI Position 1.13.3
+ * jQuery UI Position 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -13972,7 +13972,7 @@ var position = $.ui.position;
/*!
- * jQuery UI :data 1.13.3
+ * jQuery UI :data 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -13987,21 +13987,15 @@ var position = $.ui.position;
var data = $.extend( $.expr.pseudos, {
- data: $.expr.createPseudo ?
- $.expr.createPseudo( function( dataName ) {
- return function( elem ) {
- return !!$.data( elem, dataName );
- };
- } ) :
-
- // Support: jQuery <1.8
- function( elem, i, match ) {
- return !!$.data( elem, match[ 3 ] );
- }
+ data: $.expr.createPseudo( function( dataName ) {
+ return function( elem ) {
+ return !!$.data( elem, dataName );
+ };
+ } )
} );
/*!
- * jQuery UI Disable Selection 1.13.3
+ * jQuery UI Disable Selection 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -14044,18 +14038,17 @@ var jQuery = $;
/*!
- * jQuery Color Animations v2.2.0
+ * jQuery Color Animations v3.0.0
* https://github.com/jquery/jquery-color
*
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license.
* https://jquery.org/license
*
- * Date: Sun May 10 09:02:36 2020 +0200
+ * Date: Wed May 15 16:49:44 2024 +0200
*/
-
var stepHooks = "backgroundColor borderBottomColor borderLeftColor borderRightColor " +
"borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor",
@@ -14180,10 +14173,6 @@ var jQuery = $;
floor: true
}
},
- support = color.support = {},
-
- // element for support tests
- supportElem = jQuery( "<p>" )[ 0 ],
// colors = jQuery.Color.names
colors,
@@ -14191,10 +14180,6 @@ var jQuery = $;
// local aliases of functions called often
each = jQuery.each;
-// determine rgba support immediately
-supportElem.style.cssText = "background-color:rgba(1,1,1,.5)";
-support.rgba = supportElem.style.backgroundColor.indexOf( "rgba" ) > -1;
-
// define cache name and alpha properties
// for rgba and hsla spaces
each( spaces, function( spaceName, space ) {
@@ -14232,12 +14217,6 @@ function clamp( value, prop, allowEmpty ) {
// ~~ is an short way of doing floor for positive numbers
value = type.floor ? ~~value : parseFloat( value );
- // IE will pass in empty strings as value for alpha,
- // which will hit this case
- if ( isNaN( value ) ) {
- return prop.def;
- }
-
if ( type.mod ) {
// we add mod before modding to make sure that negatives values
@@ -14350,7 +14329,10 @@ color.fn = jQuery.extend( color.prototype, {
} );
// everything defined but alpha?
- if ( inst[ cache ] && jQuery.inArray( null, inst[ cache ].slice( 0, 3 ) ) < 0 ) {
+ if ( inst[ cache ] && jQuery.inArray(
+ null,
+ inst[ cache ].slice( 0, 3 )
+ ) < 0 ) {
// use the default of 1
if ( inst[ cache ][ 3 ] == null ) {
@@ -14462,7 +14444,7 @@ color.fn = jQuery.extend( color.prototype, {
prefix = "rgb(";
}
- return prefix + rgba.join() + ")";
+ return prefix + rgba.join( ", " ) + ")";
},
toHslaString: function() {
var prefix = "hsla(",
@@ -14482,7 +14464,7 @@ color.fn = jQuery.extend( color.prototype, {
hsla.pop();
prefix = "hsl(";
}
- return prefix + hsla.join() + ")";
+ return prefix + hsla.join( ", " ) + ")";
},
toHexString: function( includeAlpha ) {
var rgba = this._rgba.slice(),
@@ -14495,12 +14477,11 @@ color.fn = jQuery.extend( color.prototype, {
return "#" + jQuery.map( rgba, function( v ) {
// default to 0 when nulls exist
- v = ( v || 0 ).toString( 16 );
- return v.length === 1 ? "0" + v : v;
+ return ( "0" + ( v || 0 ).toString( 16 ) ).substr( -2 );
} ).join( "" );
},
toString: function() {
- return this._rgba[ 3 ] === 0 ? "transparent" : this.toRgbaString();
+ return this.toRgbaString();
}
} );
color.fn.parse.prototype = color.fn;
@@ -14667,37 +14648,15 @@ color.hook = function( hook ) {
each( hooks, function( _i, hook ) {
jQuery.cssHooks[ hook ] = {
set: function( elem, value ) {
- var parsed, curElem,
- backgroundColor = "";
+ var parsed;
- if ( value !== "transparent" && ( getType( value ) !== "string" || ( parsed = stringParse( value ) ) ) ) {
+ if ( value !== "transparent" &&
+ ( getType( value ) !== "string" ||
+ ( parsed = stringParse( value ) ) ) ) {
value = color( parsed || value );
- if ( !support.rgba && value._rgba[ 3 ] !== 1 ) {
- curElem = hook === "backgroundColor" ? elem.parentNode : elem;
- while (
- ( backgroundColor === "" || backgroundColor === "transparent" ) &&
- curElem && curElem.style
- ) {
- try {
- backgroundColor = jQuery.css( curElem, "backgroundColor" );
- curElem = curElem.parentNode;
- } catch ( e ) {
- }
- }
-
- value = value.blend( backgroundColor && backgroundColor !== "transparent" ?
- backgroundColor :
- "_default" );
- }
-
value = value.toRgbaString();
}
- try {
- elem.style[ hook ] = value;
- } catch ( e ) {
-
- // wrapped to prevent IE from throwing errors on "invalid" values like 'auto' or 'inherit'
- }
+ elem.style[ hook ] = value;
}
};
jQuery.fx.step[ hook ] = function( fx ) {
@@ -14756,7 +14715,7 @@ colors = jQuery.Color.names = {
/*!
- * jQuery UI Effects 1.13.3
+ * jQuery UI Effects 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -14819,26 +14778,14 @@ function camelCase( string ) {
function getElementStyles( elem ) {
var key, len,
- style = elem.ownerDocument.defaultView ?
- elem.ownerDocument.defaultView.getComputedStyle( elem, null ) :
- elem.currentStyle,
+ style = elem.ownerDocument.defaultView.getComputedStyle( elem ),
styles = {};
- if ( style && style.length && style[ 0 ] && style[ style[ 0 ] ] ) {
- len = style.length;
- while ( len-- ) {
- key = style[ len ];
- if ( typeof style[ key ] === "string" ) {
- styles[ camelCase( key ) ] = style[ key ];
- }
- }
-
- // Support: Opera, IE <9
- } else {
- for ( key in style ) {
- if ( typeof style[ key ] === "string" ) {
- styles[ key ] = style[ key ];
- }
+ len = style.length;
+ while ( len-- ) {
+ key = style[ len ];
+ if ( typeof style[ key ] === "string" ) {
+ styles[ camelCase( key ) ] = style[ key ];
}
}
@@ -14863,15 +14810,6 @@ function styleDifference( oldStyle, newStyle ) {
return diff;
}
-// Support: jQuery <1.8
-if ( !$.fn.addBack ) {
- $.fn.addBack = function( selector ) {
- return this.add( selector == null ?
- this.prevObject : this.prevObject.filter( selector )
- );
- };
-}
-
$.effects.animateClass = function( value, duration, easing, callback ) {
var o = $.speed( duration, easing, callback );
@@ -15011,7 +14949,7 @@ if ( $.expr && $.expr.pseudos && $.expr.pseudos.animated ) {
} )( $.expr.pseudos.animated );
}
-if ( $.uiBackCompat !== false ) {
+if ( $.uiBackCompat === true ) {
$.extend( $.effects, {
// Saves a set of properties in a data storage
@@ -15140,7 +15078,7 @@ if ( $.uiBackCompat !== false ) {
}
$.extend( $.effects, {
- version: "1.13.3",
+ version: "1.14.0",
define: function( name, mode, effect ) {
if ( !effect ) {
@@ -15497,7 +15435,7 @@ $.fn.extend( {
// as toggle can be either show or hide depending on element state
args.mode = modes.shift();
- if ( $.uiBackCompat !== false && !defaultMode ) {
+ if ( $.uiBackCompat === true && !defaultMode ) {
if ( elem.is( ":hidden" ) ? mode === "hide" : mode === "show" ) {
// Call the core method to track "olddisplay" properly
@@ -15708,7 +15646,7 @@ var effect = $.effects;
/*!
- * jQuery UI Effects Blind 1.13.3
+ * jQuery UI Effects Blind 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -15763,7 +15701,7 @@ var effectsEffectBlind = $.effects.define( "blind", "hide", function( options, d
/*!
- * jQuery UI Effects Bounce 1.13.3
+ * jQuery UI Effects Bounce 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -15858,7 +15796,7 @@ var effectsEffectBounce = $.effects.define( "bounce", function( options, done )
/*!
- * jQuery UI Effects Clip 1.13.3
+ * jQuery UI Effects Clip 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -15908,7 +15846,7 @@ var effectsEffectClip = $.effects.define( "clip", "hide", function( options, don
/*!
- * jQuery UI Effects Drop 1.13.3
+ * jQuery UI Effects Drop 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -15962,7 +15900,7 @@ var effectsEffectDrop = $.effects.define( "drop", "hide", function( options, don
/*!
- * jQuery UI Effects Explode 1.13.3
+ * jQuery UI Effects Explode 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -16058,7 +15996,7 @@ var effectsEffectExplode = $.effects.define( "explode", "hide", function( option
/*!
- * jQuery UI Effects Fade 1.13.3
+ * jQuery UI Effects Fade 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -16090,7 +16028,7 @@ var effectsEffectFade = $.effects.define( "fade", "toggle", function( options, d
/*!
- * jQuery UI Effects Fold 1.13.3
+ * jQuery UI Effects Fold 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -16164,7 +16102,7 @@ var effectsEffectFold = $.effects.define( "fold", "hide", function( options, don
/*!
- * jQuery UI Effects Highlight 1.13.3
+ * jQuery UI Effects Highlight 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -16206,7 +16144,7 @@ var effectsEffectHighlight = $.effects.define( "highlight", "show", function( op
/*!
- * jQuery UI Effects Size 1.13.3
+ * jQuery UI Effects Size 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -16384,7 +16322,7 @@ var effectsEffectSize = $.effects.define( "size", function( options, done ) {
/*!
- * jQuery UI Effects Scale 1.13.3
+ * jQuery UI Effects Scale 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -16424,7 +16362,7 @@ var effectsEffectScale = $.effects.define( "scale", function( options, done ) {
/*!
- * jQuery UI Effects Puff 1.13.3
+ * jQuery UI Effects Puff 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -16450,7 +16388,7 @@ var effectsEffectPuff = $.effects.define( "puff", "hide", function( options, don
/*!
- * jQuery UI Effects Pulsate 1.13.3
+ * jQuery UI Effects Pulsate 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -16499,7 +16437,7 @@ var effectsEffectPulsate = $.effects.define( "pulsate", "show", function( option
/*!
- * jQuery UI Effects Shake 1.13.3
+ * jQuery UI Effects Shake 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -16558,7 +16496,7 @@ var effectsEffectShake = $.effects.define( "shake", function( options, done ) {
/*!
- * jQuery UI Effects Slide 1.13.3
+ * jQuery UI Effects Slide 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -16619,7 +16557,7 @@ var effectsEffectSlide = $.effects.define( "slide", "show", function( options, d
/*!
- * jQuery UI Effects Transfer 1.13.3
+ * jQuery UI Effects Transfer 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -16635,7 +16573,7 @@ var effectsEffectSlide = $.effects.define( "slide", "show", function( options, d
var effect;
-if ( $.uiBackCompat !== false ) {
+if ( $.uiBackCompat === true ) {
effect = $.effects.define( "transfer", function( options, done ) {
$( this ).transfer( options, done );
} );
@@ -16644,7 +16582,7 @@ var effectsEffectTransfer = effect;
/*!
- * jQuery UI Focusable 1.13.3
+ * jQuery UI Focusable 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -16693,20 +16631,10 @@ $.ui.focusable = function( element, hasTabindex ) {
focusableIfVisible = hasTabindex;
}
- return focusableIfVisible && $( element ).is( ":visible" ) && visible( $( element ) );
+ return focusableIfVisible && $( element ).is( ":visible" ) &&
+ $( element ).css( "visibility" ) === "visible";
};
-// Support: IE 8 only
-// IE 8 doesn't resolve inherit to visible/hidden for computed values
-function visible( element ) {
- var visibility = element.css( "visibility" );
- while ( visibility === "inherit" ) {
- element = element.parent();
- visibility = element.css( "visibility" );
- }
- return visibility === "visible";
-}
-
$.extend( $.expr.pseudos, {
focusable: function( element ) {
return $.ui.focusable( element, $.attr( element, "tabindex" ) != null );
@@ -16716,17 +16644,8 @@ $.extend( $.expr.pseudos, {
var focusable = $.ui.focusable;
-
-// Support: IE8 Only
-// IE8 does not support the form attribute and when it is supplied. It overwrites the form prop
-// with a string, so we need to find the proper form.
-var form = $.fn._form = function() {
- return typeof this[ 0 ].form === "string" ? this.closest( "form" ) : $( this[ 0 ].form );
-};
-
-
/*!
- * jQuery UI Form Reset Mixin 1.13.3
+ * jQuery UI Form Reset Mixin 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -16754,7 +16673,7 @@ var formResetMixin = $.ui.formResetMixin = {
},
_bindFormResetHandler: function() {
- this.form = this.element._form();
+ this.form = $( this.element.prop( "form" ) );
if ( !this.form.length ) {
return;
}
@@ -16788,7 +16707,7 @@ var formResetMixin = $.ui.formResetMixin = {
/*!
- * jQuery UI Support for jQuery core 1.8.x and newer 1.13.3
+ * jQuery UI Legacy jQuery Core patches 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -16797,50 +16716,17 @@ var formResetMixin = $.ui.formResetMixin = {
*
*/
-//>>label: jQuery 1.8+ Support
+//>>label: Legacy jQuery Core patches
//>>group: Core
-//>>description: Support version 1.8.x and newer of jQuery core
-
+//>>description: Backport `.even()`, `.odd()` and `$.escapeSelector` to older jQuery Core versions (deprecated)
-// Support: jQuery 1.9.x or older
-// $.expr[ ":" ] is deprecated.
-if ( !$.expr.pseudos ) {
- $.expr.pseudos = $.expr[ ":" ];
-}
-
-// Support: jQuery 1.11.x or older
-// $.unique has been renamed to $.uniqueSort
-if ( !$.uniqueSort ) {
- $.uniqueSort = $.unique;
-}
// Support: jQuery 2.2.x or older.
// This method has been defined in jQuery 3.0.0.
// Code from https://github.com/jquery/jquery/blob/e539bac79e666bba95bba86d690b4e609dca2286/src/selector/escapeSelector.js
if ( !$.escapeSelector ) {
-
- // CSS string/identifier serialization
- // https://drafts.csswg.org/cssom/#common-serializing-idioms
- var rcssescape = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;
-
- var fcssescape = function( ch, asCodePoint ) {
- if ( asCodePoint ) {
-
- // U+0000 NULL becomes U+FFFD REPLACEMENT CHARACTER
- if ( ch === "\0" ) {
- return "\uFFFD";
- }
-
- // Control characters and (dependent upon position) numbers get escaped as code points
- return ch.slice( 0, -1 ) + "\\" + ch.charCodeAt( ch.length - 1 ).toString( 16 ) + " ";
- }
-
- // Other potentially-special ASCII characters get backslash-escaped
- return "\\" + ch;
- };
-
- $.escapeSelector = function( sel ) {
- return ( sel + "" ).replace( rcssescape, fcssescape );
+ $.escapeSelector = function( id ) {
+ return CSS.escape( id + "" );
};
}
@@ -16863,7 +16749,7 @@ if ( !$.fn.even || !$.fn.odd ) {
;
/*!
- * jQuery UI Keycode 1.13.3
+ * jQuery UI Keycode 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -16898,7 +16784,7 @@ var keycode = $.ui.keyCode = {
/*!
- * jQuery UI Labels 1.13.3
+ * jQuery UI Labels 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -16924,9 +16810,8 @@ var labels = $.fn.labels = function() {
return this.pushStack( this[ 0 ].labels );
}
- // Support: IE <= 11, FF <= 37, Android <= 2.3 only
- // Above browsers do not support control.labels. Everything below is to support them
- // as well as document fragments. control.labels does not work on document fragments
+ // If `control.labels` is empty - e.g. inside of document fragments - find
+ // the labels manually
labels = this.eq( 0 ).parents( "label" );
// Look for the label based on the id
@@ -16941,7 +16826,7 @@ var labels = $.fn.labels = function() {
ancestors = ancestor.add( ancestor.length ? ancestor.siblings() : this.siblings() );
// Create a selector for the label based on the id
- selector = "label[for='" + $.escapeSelector( id ) + "']";
+ selector = "label[for='" + CSS.escape( id ) + "']";
labels = labels.add( ancestors.find( selector ).addBack( selector ) );
@@ -16953,7 +16838,7 @@ var labels = $.fn.labels = function() {
/*!
- * jQuery UI Scroll Parent 1.13.3
+ * jQuery UI Scroll Parent 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -16987,7 +16872,7 @@ var scrollParent = $.fn.scrollParent = function( includeHidden ) {
/*!
- * jQuery UI Tabbable 1.13.3
+ * jQuery UI Tabbable 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -17011,7 +16896,7 @@ var tabbable = $.extend( $.expr.pseudos, {
/*!
- * jQuery UI Unique ID 1.13.3
+ * jQuery UI Unique ID 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -17049,7 +16934,7 @@ var uniqueId = $.fn.extend( {
/*!
- * jQuery UI Accordion 1.13.3
+ * jQuery UI Accordion 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -17070,7 +16955,7 @@ var uniqueId = $.fn.extend( {
var widgetsAccordion = $.widget( "ui.accordion", {
- version: "1.13.3",
+ version: "1.14.0",
options: {
active: 0,
animate: {},
@@ -17082,7 +16967,17 @@ var widgetsAccordion = $.widget( "ui.accordion", {
collapsible: false,
event: "click",
header: function( elem ) {
- return elem.find( "> li > :first-child" ).add( elem.find( "> :not(li)" ).even() );
+ return elem
+ .find( "> li > :first-child" )
+ .add(
+ elem.find( "> :not(li)" )
+
+ // Support: jQuery <3.5 only
+ // We could use `.even()` but that's unavailable in older jQuery.
+ .filter( function( i ) {
+ return i % 2 === 0;
+ } )
+ );
},
heightStyle: "auto",
icons: {
@@ -17217,13 +17112,7 @@ var widgetsAccordion = $.widget( "ui.accordion", {
this._super( value );
this.element.attr( "aria-disabled", value );
-
- // Support: IE8 Only
- // #5332 / #6059 - opacity doesn't cascade to positioned elements in IE
- // so we need to add the disabled class to the headers and panels
this._toggleClass( null, "ui-state-disabled", !!value );
- this._toggleClass( this.headers.add( this.headers.next() ), null, "ui-state-disabled",
- !!value );
},
_keydown: function( event ) {
@@ -17641,47 +17530,13 @@ var widgetsAccordion = $.widget( "ui.accordion", {
this._removeClass( prev, "ui-accordion-header-active" )
._addClass( prev, "ui-accordion-header-collapsed" );
- // Work around for rendering bug in IE (#5421)
- if ( toHide.length ) {
- toHide.parent()[ 0 ].className = toHide.parent()[ 0 ].className;
- }
this._trigger( "activate", null, data );
}
} );
-
-var safeActiveElement = $.ui.safeActiveElement = function( document ) {
- var activeElement;
-
- // Support: IE 9 only
- // IE9 throws an "Unspecified error" accessing document.activeElement from an <iframe>
- try {
- activeElement = document.activeElement;
- } catch ( error ) {
- activeElement = document.body;
- }
-
- // Support: IE 9 - 11 only
- // IE may return null instead of an element
- // Interestingly, this only seems to occur when NOT in an iframe
- if ( !activeElement ) {
- activeElement = document.body;
- }
-
- // Support: IE 11 only
- // IE11 returns a seemingly empty object in some cases when accessing
- // document.activeElement from an <iframe>
- if ( !activeElement.nodeName ) {
- activeElement = document.body;
- }
-
- return activeElement;
-};
-
-
/*!
- * jQuery UI Menu 1.13.3
+ * jQuery UI Menu 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -17700,7 +17555,7 @@ var safeActiveElement = $.ui.safeActiveElement = function( document ) {
var widgetsMenu = $.widget( "ui.menu", {
- version: "1.13.3",
+ version: "1.14.0",
defaultElement: "<ul>",
delay: 300,
options: {
@@ -17747,7 +17602,7 @@ var widgetsMenu = $.widget( "ui.menu", {
},
"click .ui-menu-item": function( event ) {
var target = $( event.target );
- var active = $( $.ui.safeActiveElement( this.document[ 0 ] ) );
+ var active = $( this.document[ 0 ].activeElement );
if ( !this.mouseHandled && target.not( ".ui-state-disabled" ).length ) {
this.select( event );
@@ -17791,7 +17646,7 @@ var widgetsMenu = $.widget( "ui.menu", {
this._delay( function() {
var notContained = !$.contains(
this.element[ 0 ],
- $.ui.safeActiveElement( this.document[ 0 ] )
+ this.document[ 0 ].activeElement
);
if ( notContained ) {
this.collapseAll( event );
@@ -18372,7 +18227,7 @@ var widgetsMenu = $.widget( "ui.menu", {
/*!
- * jQuery UI Autocomplete 1.13.3
+ * jQuery UI Autocomplete 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -18391,7 +18246,7 @@ var widgetsMenu = $.widget( "ui.menu", {
$.widget( "ui.autocomplete", {
- version: "1.13.3",
+ version: "1.14.0",
defaultElement: "<input>",
options: {
appendTo: null,
@@ -18435,9 +18290,9 @@ $.widget( "ui.autocomplete", {
// Textareas are always multi-line
// Inputs are always single-line, even if inside a contentEditable element
- // IE also treats inputs as contentEditable
- // All other element types are determined by whether or not they're contentEditable
- this.isMultiLine = isTextarea || !isInput && this._isContentEditable( this.element );
+ // All other element types are determined by whether they're contentEditable
+ this.isMultiLine = isTextarea ||
+ !isInput && this.element.prop( "contentEditable" ) === "true";
this.valueMethod = this.element[ isTextarea || isInput ? "val" : "text" ];
this.isNewMenu = true;
@@ -18501,7 +18356,6 @@ $.widget( "ui.autocomplete", {
// Different browsers have different default behavior for escape
// Single press can mean undo or clear
- // Double press in IE means clear the whole form
event.preventDefault();
}
break;
@@ -18570,16 +18424,6 @@ $.widget( "ui.autocomplete", {
role: null
} )
.hide()
-
- // Support: IE 11 only, Edge <= 14
- // For other browsers, we preventDefault() on the mousedown event
- // to keep the dropdown from taking focus from the input. This doesn't
- // work for IE/Edge, causing problems with selection and scrolling (#9638)
- // Happily, IE and Edge support an "unselectable" attribute that
- // prevents an element from receiving focus, exactly what we want here.
- .attr( {
- "unselectable": "on"
- } )
.menu( "instance" );
this._addClass( this.menu.element, "ui-autocomplete", "ui-front" );
@@ -18592,7 +18436,7 @@ $.widget( "ui.autocomplete", {
menufocus: function( event, ui ) {
var label, item;
- // support: Firefox
+ // Support: Firefox
// Prevent accidental activation of menu items in Firefox (#7024 #9118)
if ( this.isNewMenu ) {
this.isNewMenu = false;
@@ -18630,17 +18474,9 @@ $.widget( "ui.autocomplete", {
previous = this.previous;
// Only trigger when focus was lost (click on menu)
- if ( this.element[ 0 ] !== $.ui.safeActiveElement( this.document[ 0 ] ) ) {
+ if ( this.element[ 0 ] !== this.document[ 0 ].activeElement ) {
this.element.trigger( "focus" );
this.previous = previous;
-
- // #6109 - IE triggers two focus events and the second
- // is asynchronous, so we need to reset the previous
- // term synchronously and asynchronously :-(
- this._delay( function() {
- this.previous = previous;
- this.selectedItem = item;
- } );
}
if ( false !== this._trigger( "select", event, { item: item } ) ) {
@@ -18959,24 +18795,6 @@ $.widget( "ui.autocomplete", {
// Prevents moving cursor to beginning/end of the text field in some browsers
event.preventDefault();
}
- },
-
- // Support: Chrome <=50
- // We should be able to just use this.element.prop( "isContentEditable" )
- // but hidden elements always report false in Chrome.
- // https://code.google.com/p/chromium/issues/detail?id=313082
- _isContentEditable: function( element ) {
- if ( !element.length ) {
- return false;
- }
-
- var editable = element.prop( "contentEditable" );
-
- if ( editable === "inherit" ) {
- return this._isContentEditable( element.parent() );
- }
-
- return editable === "true";
}
} );
@@ -19028,7 +18846,7 @@ var widgetsAutocomplete = $.ui.autocomplete;
/*!
- * jQuery UI Controlgroup 1.13.3
+ * jQuery UI Controlgroup 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -19049,7 +18867,7 @@ var widgetsAutocomplete = $.ui.autocomplete;
var controlgroupCornerRegex = /ui-corner-([a-z]){2,6}/g;
var widgetsControlgroup = $.widget( "ui.controlgroup", {
- version: "1.13.3",
+ version: "1.14.0",
defaultElement: "<div>",
options: {
direction: "horizontal",
@@ -19313,7 +19131,7 @@ var widgetsControlgroup = $.widget( "ui.controlgroup", {
} );
/*!
- * jQuery UI Checkboxradio 1.13.3
+ * jQuery UI Checkboxradio 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -19333,7 +19151,7 @@ var widgetsControlgroup = $.widget( "ui.controlgroup", {
$.widget( "ui.checkboxradio", [ $.ui.formResetMixin, {
- version: "1.13.3",
+ version: "1.14.0",
options: {
disabled: null,
label: null,
@@ -19451,7 +19269,7 @@ $.widget( "ui.checkboxradio", [ $.ui.formResetMixin, {
_getRadioGroup: function() {
var group;
var name = this.element[ 0 ].name;
- var nameSelector = "input[name='" + $.escapeSelector( name ) + "']";
+ var nameSelector = "input[name='" + CSS.escape( name ) + "']";
if ( !name ) {
return $( [] );
@@ -19463,7 +19281,7 @@ $.widget( "ui.checkboxradio", [ $.ui.formResetMixin, {
// Not inside a form, check all inputs that also are not inside a form
group = $( nameSelector ).filter( function() {
- return $( this )._form().length === 0;
+ return $( $( this ).prop( "form" ) ).length === 0;
} );
}
@@ -19584,7 +19402,7 @@ var widgetsCheckboxradio = $.ui.checkboxradio;
/*!
- * jQuery UI Button 1.13.3
+ * jQuery UI Button 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -19603,7 +19421,7 @@ var widgetsCheckboxradio = $.ui.checkboxradio;
$.widget( "ui.button", {
- version: "1.13.3",
+ version: "1.14.0",
defaultElement: "<button>",
options: {
classes: {
@@ -19670,9 +19488,9 @@ $.widget( "ui.button", {
if ( event.keyCode === $.ui.keyCode.SPACE ) {
event.preventDefault();
- // Support: PhantomJS <= 1.9, IE 8 Only
- // If a native click is available use it so we actually cause navigation
- // otherwise just trigger a click event
+ // If a native click is available use it, so we
+ // actually cause navigation. Otherwise, just trigger
+ // a click event.
if ( this.element[ 0 ].click ) {
this.element[ 0 ].click();
} else {
@@ -19848,7 +19666,7 @@ $.widget( "ui.button", {
} );
// DEPRECATED
-if ( $.uiBackCompat !== false ) {
+if ( $.uiBackCompat === true ) {
// Text and Icons options
$.widget( "ui.button", $.ui.button, {
@@ -20010,7 +19828,7 @@ var widgetsButton = $.ui.button;
/* eslint-disable max-len, camelcase */
/*!
- * jQuery UI Datepicker 1.13.3
+ * jQuery UI Datepicker 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -20028,7 +19846,7 @@ var widgetsButton = $.ui.button;
//>>css.theme: ../../themes/base/theme.css
-$.extend( $.ui, { datepicker: { version: "1.13.3" } } );
+$.extend( $.ui, { datepicker: { version: "1.14.0" } } );
var datepicker_instActive;
@@ -20427,6 +20245,7 @@ $.extend( Datepicker.prototype, {
$target.removeClass( this.markerClassName ).empty();
}
+ $.datepicker._hideDatepicker();
if ( datepicker_instActive === inst ) {
datepicker_instActive = null;
this._curInst = null;
@@ -20902,11 +20721,8 @@ $.extend( Datepicker.prototype, {
}
},
- // #6694 - don't focus the input if it's already focused
- // this breaks the change event in IE
- // Support: IE and jQuery <1.9
_shouldFocusInput: function( inst ) {
- return inst.input && inst.input.is( ":visible" ) && !inst.input.is( ":disabled" ) && !inst.input.is( ":focus" );
+ return inst.input && inst.input.is( ":visible" ) && !inst.input.is( ":disabled" );
},
/* Check positioning to remain on screen. */
@@ -20963,8 +20779,7 @@ $.extend( Datepicker.prototype, {
$.datepicker._tidyDialog( inst );
};
- // DEPRECATED: after BC for 1.8.x $.effects[ showAnim ] is not needed
- if ( $.effects && ( $.effects.effect[ showAnim ] || $.effects[ showAnim ] ) ) {
+ if ( $.effects && ( $.effects.effect[ showAnim ] ) ) {
inst.dpDiv.hide( showAnim, $.datepicker._get( inst, "showOptions" ), duration, postProcess );
} else {
inst.dpDiv[ ( showAnim === "slideDown" ? "slideUp" :
@@ -22225,17 +22040,13 @@ $.fn.datepicker = function( options ) {
$.datepicker = new Datepicker(); // singleton instance
$.datepicker.initialized = false;
$.datepicker.uuid = new Date().getTime();
-$.datepicker.version = "1.13.3";
+$.datepicker.version = "1.14.0";
var widgetsDatepicker = $.datepicker;
-
-// This file is deprecated
-var ie = $.ui.ie = !!/msie [\w.]+/.exec( navigator.userAgent.toLowerCase() );
-
/*!
- * jQuery UI Mouse 1.13.3
+ * jQuery UI Mouse 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -22255,7 +22066,7 @@ $( document ).on( "mouseup", function() {
} );
var widgetsMouse = $.widget( "ui.mouse", {
- version: "1.13.3",
+ version: "1.14.0",
options: {
cancel: "input, textarea, button, select, option",
distance: 1,
@@ -22307,12 +22118,10 @@ var widgetsMouse = $.widget( "ui.mouse", {
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 );
+ btnIsLeft = event.which === 1,
+ elIsCancel = typeof this.options.cancel === "string" ?
+ $( event.target ).closest( this.options.cancel ).length :
+ false;
if ( !btnIsLeft || elIsCancel || !this._mouseCapture( event ) ) {
return true;
}
@@ -22358,28 +22167,17 @@ var widgetsMouse = $.widget( "ui.mouse", {
_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 ) {
+ // at least once.
+ if ( this._mouseMoved && !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 );
-
- // 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 );
- }
}
}
@@ -22485,19 +22283,8 @@ var plugin = $.ui.plugin = {
};
-
-var safeBlur = $.ui.safeBlur = function( element ) {
-
- // Support: IE9 - 10 only
- // If the <body> is blurred, IE will switch windows, see #9420
- if ( element && element.nodeName.toLowerCase() !== "body" ) {
- $( element ).trigger( "blur" );
- }
-};
-
-
/*!
- * jQuery UI Draggable 1.13.3
+ * jQuery UI Draggable 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -22514,7 +22301,7 @@ var safeBlur = $.ui.safeBlur = function( element ) {
$.widget( "ui.draggable", $.ui.mouse, {
- version: "1.13.3",
+ version: "1.14.0",
widgetEventPrefix: "drag",
options: {
addClasses: true,
@@ -22621,7 +22408,7 @@ $.widget( "ui.draggable", $.ui.mouse, {
},
_blurActiveElement: function( event ) {
- var activeElement = $.ui.safeActiveElement( this.document[ 0 ] ),
+ var activeElement = this.document[ 0 ].activeElement,
target = $( event.target );
// Don't blur if the event occurred on an element that is within
@@ -22632,7 +22419,7 @@ $.widget( "ui.draggable", $.ui.mouse, {
}
// Blur any element that currently has focus, see #4261
- $.ui.safeBlur( activeElement );
+ $( activeElement ).trigger( "blur" );
},
_mouseStart: function( event ) {
@@ -23732,7 +23519,7 @@ var widgetsDraggable = $.ui.draggable;
/*!
- * jQuery UI Resizable 1.13.3
+ * jQuery UI Resizable 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -23751,7 +23538,7 @@ var widgetsDraggable = $.ui.draggable;
$.widget( "ui.resizable", $.ui.mouse, {
- version: "1.13.3",
+ version: "1.14.0",
widgetEventPrefix: "resize",
options: {
alsoResize: false,
@@ -23861,9 +23648,8 @@ $.widget( "ui.resizable", $.ui.mouse, {
};
this.element.css( margins );
- this.originalElement.css( "margin", 0 );
- // support: Safari
+ // Support: Safari
// Prevent Safari textarea resize
this.originalResizeStyle = this.originalElement.css( "resize" );
this.originalElement.css( "resize", "none" );
@@ -23874,10 +23660,6 @@ $.widget( "ui.resizable", $.ui.mouse, {
display: "block"
} ) );
- // Support: IE9
- // avoid IE jump (hard set the margin)
- this.originalElement.css( margins );
-
this._proportionallyResize();
}
@@ -24825,7 +24607,7 @@ $.ui.plugin.add( "resizable", "ghost", {
// DEPRECATED
// TODO: remove after 1.12
- if ( $.uiBackCompat !== false && typeof that.options.ghost === "string" ) {
+ if ( $.uiBackCompat === true && typeof that.options.ghost === "string" ) {
// Ghost option
that.ghost.addClass( this.options.ghost );
@@ -24933,7 +24715,7 @@ var widgetsResizable = $.ui.resizable;
/*!
- * jQuery UI Dialog 1.13.3
+ * jQuery UI Dialog 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -24952,7 +24734,7 @@ var widgetsResizable = $.ui.resizable;
$.widget( "ui.dialog", {
- version: "1.13.3",
+ version: "1.14.0",
options: {
appendTo: "body",
autoOpen: true,
@@ -25134,7 +24916,7 @@ $.widget( "ui.dialog", {
// Hiding a focused element doesn't trigger blur in WebKit
// so in case we have nothing to focus on, explicitly blur the active element
// https://bugs.webkit.org/show_bug.cgi?id=47182
- $.ui.safeBlur( $.ui.safeActiveElement( this.document[ 0 ] ) );
+ $( this.document[ 0 ].activeElement ).trigger( "blur" );
}
this._hide( this.uiDialog, this.options.hide, function() {
@@ -25178,7 +24960,7 @@ $.widget( "ui.dialog", {
}
this._isOpen = true;
- this.opener = $( $.ui.safeActiveElement( this.document[ 0 ] ) );
+ this.opener = $( this.document[ 0 ].activeElement );
this._size();
this._position();
@@ -25234,7 +25016,7 @@ $.widget( "ui.dialog", {
},
_restoreTabbableFocus: function() {
- var activeElement = $.ui.safeActiveElement( this.document[ 0 ] ),
+ var activeElement = this.document[ 0 ].activeElement,
isActive = this.uiDialog[ 0 ] === activeElement ||
$.contains( this.uiDialog[ 0 ], activeElement );
if ( !isActive ) {
@@ -25245,11 +25027,6 @@ $.widget( "ui.dialog", {
_keepFocus: function( event ) {
event.preventDefault();
this._restoreTabbableFocus();
-
- // support: IE
- // IE <= 8 doesn't prevent moving focus even with event.preventDefault()
- // so we check again later
- this._delay( this._restoreTabbableFocus );
},
_createWrapper: function() {
@@ -25259,7 +25036,8 @@ $.widget( "ui.dialog", {
// Setting tabIndex makes the div focusable
tabIndex: -1,
- role: "dialog"
+ role: "dialog",
+ "aria-modal": this.options.modal ? "true" : null
} )
.appendTo( this._appendTo() );
@@ -25332,9 +25110,6 @@ $.widget( "ui.dialog", {
}
} );
- // Support: IE
- // Use type="button" to prevent enter keypresses in textboxes from closing the
- // dialog in IE (#9312)
this.uiDialogTitlebarClose = $( "<button type='button'></button>" )
.button( {
label: $( "<a>" ).text( this.options.closeText ).html(),
@@ -25677,6 +25452,10 @@ $.widget( "ui.dialog", {
if ( key === "title" ) {
this._title( this.uiDialogTitlebar.find( ".ui-dialog-title" ) );
}
+
+ if ( key === "modal" ) {
+ uiDialog.attr( "aria-modal", value ? "true" : null );
+ }
},
_size: function() {
@@ -25762,8 +25541,6 @@ $.widget( "ui.dialog", {
return;
}
- var jqMinor = $.fn.jquery.substring( 0, 4 );
-
// We use a delay in case the overlay is created from an
// event that we're going to be cancelling (#2804)
var isOpening = true;
@@ -25785,18 +25562,6 @@ $.widget( "ui.dialog", {
if ( !instance._allowInteraction( event ) ) {
event.preventDefault();
instance._focusTabbable();
-
- // Support: jQuery >=3.4 <3.7 only
- // In jQuery 3.4-3.6, there are multiple issues with focus/blur
- // trigger chains or when triggering is done on a hidden element
- // at least once.
- // Trigger focus in a delay in addition if needed to avoid the issues.
- // See https://github.com/jquery/jquery/issues/4382
- // See https://github.com/jquery/jquery/issues/4856
- // See https://github.com/jquery/jquery/issues/4950
- if ( jqMinor === "3.4." || jqMinor === "3.5." || jqMinor === "3.6." ) {
- instance._delay( instance._restoreTabbableFocus );
- }
}
}.bind( this ) );
}
@@ -25835,7 +25600,7 @@ $.widget( "ui.dialog", {
// DEPRECATED
// TODO: switch return back to widget declaration at top of file when this is removed
-if ( $.uiBackCompat !== false ) {
+if ( $.uiBackCompat === true ) {
// Backcompat for dialogClass option
$.widget( "ui.dialog", $.ui.dialog, {
@@ -25861,7 +25626,7 @@ var widgetsDialog = $.ui.dialog;
/*!
- * jQuery UI Droppable 1.13.3
+ * jQuery UI Droppable 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -25877,7 +25642,7 @@ var widgetsDialog = $.ui.dialog;
$.widget( "ui.droppable", {
- version: "1.13.3",
+ version: "1.14.0",
widgetEventPrefix: "drop",
options: {
accept: "*",
@@ -26305,7 +26070,7 @@ $.ui.ddmanager = {
// DEPRECATED
// TODO: switch return back to widget declaration at top of file when this is removed
-if ( $.uiBackCompat !== false ) {
+if ( $.uiBackCompat === true ) {
// Backcompat for activeClass and hoverClass options
$.widget( "ui.droppable", $.ui.droppable, {
@@ -26344,7 +26109,7 @@ var widgetsDroppable = $.ui.droppable;
/*!
- * jQuery UI Progressbar 1.13.3
+ * jQuery UI Progressbar 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -26365,7 +26130,7 @@ var widgetsDroppable = $.ui.droppable;
var widgetsProgressbar = $.widget( "ui.progressbar", {
- version: "1.13.3",
+ version: "1.14.0",
options: {
classes: {
"ui-progressbar": "ui-corner-all",
@@ -26507,7 +26272,7 @@ var widgetsProgressbar = $.widget( "ui.progressbar", {
/*!
- * jQuery UI Selectable 1.13.3
+ * jQuery UI Selectable 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -26524,7 +26289,7 @@ var widgetsProgressbar = $.widget( "ui.progressbar", {
var widgetsSelectable = $.widget( "ui.selectable", $.ui.mouse, {
- version: "1.13.3",
+ version: "1.14.0",
options: {
appendTo: "body",
autoRefresh: true,
@@ -26805,7 +26570,7 @@ var widgetsSelectable = $.widget( "ui.selectable", $.ui.mouse, {
/*!
- * jQuery UI Selectmenu 1.13.3
+ * jQuery UI Selectmenu 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -26826,7 +26591,7 @@ var widgetsSelectable = $.widget( "ui.selectable", $.ui.mouse, {
var widgetsSelectmenu = $.widget( "ui.selectmenu", [ $.ui.formResetMixin, {
- version: "1.13.3",
+ version: "1.14.0",
defaultElement: "<select>",
options: {
appendTo: null,
@@ -26949,12 +26714,6 @@ var widgetsSelectmenu = $.widget( "ui.selectmenu", [ $.ui.formResetMixin, {
role: "listbox",
select: function( event, ui ) {
event.preventDefault();
-
- // Support: IE8
- // If the item was selected via a click, the text selection
- // will be destroyed in IE
- that._setSelection();
-
that._select( ui.item.data( "ui-selectmenu-item" ), event );
},
focus: function( event, ui ) {
@@ -27191,20 +26950,9 @@ var widgetsSelectmenu = $.widget( "ui.selectmenu", [ $.ui.formResetMixin, {
return;
}
- if ( window.getSelection ) {
- selection = window.getSelection();
- selection.removeAllRanges();
- selection.addRange( this.range );
-
- // Support: IE8
- } else {
- this.range.select();
- }
-
- // Support: IE
- // Setting the text selection kills the button focus in IE, but
- // restoring the focus doesn't kill the selection.
- this.button.trigger( "focus" );
+ selection = window.getSelection();
+ selection.removeAllRanges();
+ selection.addRange( this.range );
},
_documentClick: {
@@ -27214,7 +26962,7 @@ var widgetsSelectmenu = $.widget( "ui.selectmenu", [ $.ui.formResetMixin, {
}
if ( !$( event.target ).closest( ".ui-selectmenu-menu, #" +
- $.escapeSelector( this.ids.button ) ).length ) {
+ CSS.escape( this.ids.button ) ).length ) {
this.close( event );
}
}
@@ -27224,17 +26972,9 @@ var widgetsSelectmenu = $.widget( "ui.selectmenu", [ $.ui.formResetMixin, {
// Prevent text selection from being reset when interacting with the selectmenu (#10144)
mousedown: function() {
- var selection;
-
- if ( window.getSelection ) {
- selection = window.getSelection();
- if ( selection.rangeCount ) {
- this.range = selection.getRangeAt( 0 );
- }
-
- // Support: IE8
- } else {
- this.range = document.selection.createRange();
+ var selection = window.getSelection();
+ if ( selection.rangeCount ) {
+ this.range = selection.getRangeAt( 0 );
}
},
@@ -27425,11 +27165,7 @@ var widgetsSelectmenu = $.widget( "ui.selectmenu", [ $.ui.formResetMixin, {
_resizeMenu: function() {
this.menu.outerWidth( Math.max(
this.button.outerWidth(),
-
- // Support: IE10
- // IE10 wraps long text (possibly a rounding bug)
- // so we add 1px to avoid the wrapping
- this.menu.width( "" ).outerWidth() + 1
+ this.menu.width( "" ).outerWidth()
) );
},
@@ -27476,7 +27212,7 @@ var widgetsSelectmenu = $.widget( "ui.selectmenu", [ $.ui.formResetMixin, {
/*!
- * jQuery UI Slider 1.13.3
+ * jQuery UI Slider 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -27495,7 +27231,7 @@ var widgetsSelectmenu = $.widget( "ui.selectmenu", [ $.ui.formResetMixin, {
var widgetsSlider = $.widget( "ui.slider", $.ui.mouse, {
- version: "1.13.3",
+ version: "1.14.0",
widgetEventPrefix: "slide",
options: {
@@ -28211,7 +27947,7 @@ var widgetsSlider = $.widget( "ui.slider", $.ui.mouse, {
/*!
- * jQuery UI Sortable 1.13.3
+ * jQuery UI Sortable 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -28228,7 +27964,7 @@ var widgetsSlider = $.widget( "ui.slider", $.ui.mouse, {
var widgetsSortable = $.widget( "ui.sortable", $.ui.mouse, {
- version: "1.13.3",
+ version: "1.14.0",
widgetEventPrefix: "sort",
ready: false,
options: {
@@ -28466,11 +28202,7 @@ var widgetsSortable = $.widget( "ui.sortable", $.ui.mouse, {
if ( o.cursor && o.cursor !== "auto" ) { // cursor option
body = this.document.find( "body" );
- // Support: IE
- this.storedCursor = body.css( "cursor" );
- body.css( "cursor", o.cursor );
-
- this.storedStylesheet =
+ this._storedStylesheet =
$( "<style>*{ cursor: " + o.cursor + " !important; }</style>" ).appendTo( body );
}
@@ -29387,11 +29119,9 @@ var widgetsSortable = $.widget( "ui.sortable", $.ui.mouse, {
po.top += this.scrollParent.scrollTop();
}
- // This needs to be actually done for all browsers, since pageX/pageY includes this
- // information with an ugly IE fix
- if ( this.offsetParent[ 0 ] === this.document[ 0 ].body ||
- ( this.offsetParent[ 0 ].tagName &&
- this.offsetParent[ 0 ].tagName.toLowerCase() === "html" && $.ui.ie ) ) {
+ // This needs to be actually done for all browsers, since pageX/pageY includes
+ // this information.
+ if ( this.offsetParent[ 0 ] === this.document[ 0 ].body ) {
po = { top: 0, left: 0 };
}
@@ -29739,9 +29469,9 @@ var widgetsSortable = $.widget( "ui.sortable", $.ui.mouse, {
}
//Do what was originally in plugins
- if ( this.storedCursor ) {
- this.document.find( "body" ).css( "cursor", this.storedCursor );
- this.storedStylesheet.remove();
+ if ( this._storedStylesheet ) {
+ this._storedStylesheet.remove();
+ this._storedStylesheet = null;
}
if ( this._storedOpacity ) {
this.helper.css( "opacity", this._storedOpacity );
@@ -29804,7 +29534,7 @@ var widgetsSortable = $.widget( "ui.sortable", $.ui.mouse, {
/*!
- * jQuery UI Spinner 1.13.3
+ * jQuery UI Spinner 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -29834,7 +29564,7 @@ function spinnerModifier( fn ) {
}
$.widget( "ui.spinner", {
- version: "1.13.3",
+ version: "1.14.0",
defaultElement: "<input>",
widgetEventPrefix: "spin",
options: {
@@ -29915,11 +29645,6 @@ $.widget( "ui.spinner", {
this.previous = this.element.val();
},
blur: function( event ) {
- if ( this.cancelBlur ) {
- delete this.cancelBlur;
- return;
- }
-
this._stop();
this._refresh();
if ( this.previous !== this.element.val() ) {
@@ -29927,7 +29652,7 @@ $.widget( "ui.spinner", {
}
},
mousewheel: function( event, delta ) {
- var activeElement = $.ui.safeActiveElement( this.document[ 0 ] );
+ var activeElement = this.document[ 0 ].activeElement;
var isActive = this.element[ 0 ] === activeElement;
if ( !isActive || !delta ) {
@@ -29955,20 +29680,13 @@ $.widget( "ui.spinner", {
// If the input is focused then this.previous is properly set from
// when the input first received focus. If the input is not focused
// then we need to set this.previous based on the value before spinning.
- previous = this.element[ 0 ] === $.ui.safeActiveElement( this.document[ 0 ] ) ?
+ previous = this.element[ 0 ] === this.document[ 0 ].activeElement ?
this.previous : this.element.val();
function checkFocus() {
- var isActive = this.element[ 0 ] === $.ui.safeActiveElement( this.document[ 0 ] );
+ var isActive = this.element[ 0 ] === this.document[ 0 ].activeElement;
if ( !isActive ) {
this.element.trigger( "focus" );
this.previous = previous;
-
- // support: IE
- // IE sets focus asynchronously, so we need to check if focus
- // moved off of the input because the user clicked on the button.
- this._delay( function() {
- this.previous = previous;
- } );
}
}
@@ -29976,16 +29694,6 @@ $.widget( "ui.spinner", {
event.preventDefault();
checkFocus.call( this );
- // Support: IE
- // IE doesn't prevent moving focus even with event.preventDefault()
- // so we set a flag to know when we should ignore the blur event
- // and check (again) if focus moved off of the input.
- this.cancelBlur = true;
- this._delay( function() {
- delete this.cancelBlur;
- checkFocus.call( this );
- } );
-
if ( this._start( event ) === false ) {
return;
}
@@ -30338,7 +30046,7 @@ $.widget( "ui.spinner", {
// DEPRECATED
// TODO: switch return back to widget declaration at top of file when this is removed
-if ( $.uiBackCompat !== false ) {
+if ( $.uiBackCompat === true ) {
// Backcompat for spinner html extension points
$.widget( "ui.spinner", $.ui.spinner, {
@@ -30365,7 +30073,7 @@ var widgetsSpinner = $.ui.spinner;
/*!
- * jQuery UI Tabs 1.13.3
+ * jQuery UI Tabs 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -30384,7 +30092,7 @@ var widgetsSpinner = $.ui.spinner;
$.widget( "ui.tabs", {
- version: "1.13.3",
+ version: "1.14.0",
delay: 300,
options: {
active: null,
@@ -30516,7 +30224,7 @@ $.widget( "ui.tabs", {
},
_tabKeydown: function( event ) {
- var focusedTab = $( $.ui.safeActiveElement( this.document[ 0 ] ) ).closest( "li" ),
+ var focusedTab = $( this.document[ 0 ].activeElement ).closest( "li" ),
selectedIndex = this.tabs.index( focusedTab ),
goingForward = true;
@@ -30753,18 +30461,6 @@ $.widget( "ui.tabs", {
if ( $( this ).is( ".ui-state-disabled" ) ) {
event.preventDefault();
}
- } )
-
- // Support: IE <9
- // Preventing the default action in mousedown doesn't prevent IE
- // from focusing the element, so if the anchor gets focused, blur.
- // We don't have to worry about focusing the previously focused
- // element since clicking on a non-focusable element should focus
- // the body anyway.
- .on( "focus" + this.eventNamespace, ".ui-tabs-anchor", function() {
- if ( $( this ).closest( "li" ).is( ".ui-state-disabled" ) ) {
- this.blur();
- }
} );
this.tabs = this.tablist.find( "> li:has(a[href])" )
@@ -31080,7 +30776,7 @@ $.widget( "ui.tabs", {
// meta-function to give users option to provide a href string instead of a numerical index.
if ( typeof index === "string" ) {
index = this.anchors.index( this.anchors.filter( "[href$='" +
- $.escapeSelector( index ) + "']" ) );
+ CSS.escape( index ) + "']" ) );
}
return index;
@@ -31202,32 +30898,19 @@ $.widget( "ui.tabs", {
this.xhr = $.ajax( this._ajaxSettings( anchor, event, eventData ) );
- // Support: jQuery <1.8
- // jQuery <1.8 returns false if the request is canceled in beforeSend,
- // but as of 1.8, $.ajax() always returns a jqXHR object.
- if ( this.xhr && this.xhr.statusText !== "canceled" ) {
+ if ( this.xhr.statusText !== "canceled" ) {
this._addClass( tab, "ui-tabs-loading" );
panel.attr( "aria-busy", "true" );
this.xhr
.done( function( response, status, jqXHR ) {
+ panel.html( response );
+ that._trigger( "load", event, eventData );
- // support: jQuery <1.8
- // https://bugs.jquery.com/ticket/11778
- setTimeout( function() {
- panel.html( response );
- that._trigger( "load", event, eventData );
-
- complete( jqXHR, status );
- }, 1 );
+ complete( jqXHR, status );
} )
.fail( function( jqXHR, status ) {
-
- // support: jQuery <1.8
- // https://bugs.jquery.com/ticket/11778
- setTimeout( function() {
- complete( jqXHR, status );
- }, 1 );
+ complete( jqXHR, status );
} );
}
},
@@ -31235,10 +30918,7 @@ $.widget( "ui.tabs", {
_ajaxSettings: function( anchor, event, eventData ) {
var that = this;
return {
-
- // Support: IE <11 only
- // Strip any hash that exists to prevent errors with the Ajax request
- url: anchor.attr( "href" ).replace( /#.*$/, "" ),
+ url: anchor.attr( "href" ),
beforeSend: function( jqXHR, settings ) {
return that._trigger( "beforeLoad", event,
$.extend( { jqXHR: jqXHR, ajaxSettings: settings }, eventData ) );
@@ -31254,7 +30934,7 @@ $.widget( "ui.tabs", {
// DEPRECATED
// TODO: Switch return back to widget declaration at top of file when this is removed
-if ( $.uiBackCompat !== false ) {
+if ( $.uiBackCompat === true ) {
// Backcompat for ui-tab class (now ui-tabs-tab)
$.widget( "ui.tabs", $.ui.tabs, {
@@ -31269,7 +30949,7 @@ var widgetsTabs = $.ui.tabs;
/*!
- * jQuery UI Tooltip 1.13.3
+ * jQuery UI Tooltip 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -31288,7 +30968,7 @@ var widgetsTabs = $.ui.tabs;
$.widget( "ui.tooltip", {
- version: "1.13.3",
+ version: "1.14.0",
options: {
classes: {
"ui-tooltip": "ui-corner-all ui-widget-shadow"
@@ -31476,25 +31156,20 @@ $.widget( "ui.tooltip", {
content = contentOption.call( target[ 0 ], function( response ) {
- // IE may instantly serve a cached response for ajax requests
- // delay this call to _open so the other call to _open runs first
- that._delay( function() {
-
- // Ignore async response if tooltip was closed already
- if ( !target.data( "ui-tooltip-open" ) ) {
- return;
- }
+ // Ignore async response if tooltip was closed already
+ if ( !target.data( "ui-tooltip-open" ) ) {
+ return;
+ }
- // JQuery creates a special event for focusin when it doesn't
- // exist natively. To improve performance, the native event
- // object is reused and the type is changed. Therefore, we can't
- // rely on the type being correct after the event finished
- // bubbling, so we set it back to the previous value. (#8740)
- if ( event ) {
- event.type = eventType;
- }
- this._open( event, target, response );
- } );
+ // JQuery creates a special event for focusin when it doesn't
+ // exist natively. To improve performance, the native event
+ // object is reused and the type is changed. Therefore, we can't
+ // rely on the type being correct after the event finished
+ // bubbling, so we set it back to the previous value. (#8740)
+ if ( event ) {
+ event.type = eventType;
+ }
+ that._open( event, target, response );
} );
if ( content ) {
this._open( event, target, content );
@@ -31754,7 +31429,7 @@ $.widget( "ui.tooltip", {
// DEPRECATED
// TODO: Switch return back to widget declaration at top of file when this is removed
-if ( $.uiBackCompat !== false ) {
+if ( $.uiBackCompat === true ) {
// Backcompat for tooltipClass option
$.widget( "ui.tooltip", $.ui.tooltip, {
diff --git a/public/js/dist/all.js b/public/js/dist/all.js
index 9fa488f37f..f6c3b6fa22 100644
--- a/public/js/dist/all.js
+++ b/public/js/dist/all.js
@@ -12707,14 +12707,14 @@ return Tether;
}));
-/*! jQuery UI - v1.13.3 - 2024-04-26
+/*! jQuery UI - v1.14.0 - 2024-08-05
* https://jqueryui.com
* Includes: widget.js, position.js, data.js, disable-selection.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, focusable.js, form-reset-mixin.js, jquery-patch.js, keycode.js, labels.js, scroll-parent.js, tabbable.js, unique-id.js, widgets/accordion.js, widgets/autocomplete.js, widgets/button.js, widgets/checkboxradio.js, widgets/controlgroup.js, widgets/datepicker.js, widgets/dialog.js, widgets/draggable.js, widgets/droppable.js, widgets/menu.js, widgets/mouse.js, widgets/progressbar.js, widgets/resizable.js, widgets/selectable.js, widgets/selectmenu.js, widgets/slider.js, widgets/sortable.js, widgets/spinner.js, widgets/tabs.js, widgets/tooltip.js
* Copyright OpenJS Foundation and other contributors; Licensed MIT */
( function( factory ) {
"use strict";
-
+
if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module.
@@ -12729,11 +12729,11 @@ return Tether;
$.ui = $.ui || {};
-var version = $.ui.version = "1.13.3";
+var version = $.ui.version = "1.14.0";
/*!
- * jQuery UI Widget 1.13.3
+ * jQuery UI Widget 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -13475,7 +13475,7 @@ var widget = $.widget;
/*!
- * jQuery UI Position 1.13.3
+ * jQuery UI Position 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -13972,7 +13972,7 @@ var position = $.ui.position;
/*!
- * jQuery UI :data 1.13.3
+ * jQuery UI :data 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -13987,21 +13987,15 @@ var position = $.ui.position;
var data = $.extend( $.expr.pseudos, {
- data: $.expr.createPseudo ?
- $.expr.createPseudo( function( dataName ) {
- return function( elem ) {
- return !!$.data( elem, dataName );
- };
- } ) :
-
- // Support: jQuery <1.8
- function( elem, i, match ) {
- return !!$.data( elem, match[ 3 ] );
- }
+ data: $.expr.createPseudo( function( dataName ) {
+ return function( elem ) {
+ return !!$.data( elem, dataName );
+ };
+ } )
} );
/*!
- * jQuery UI Disable Selection 1.13.3
+ * jQuery UI Disable Selection 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -14044,18 +14038,17 @@ var jQuery = $;
/*!
- * jQuery Color Animations v2.2.0
+ * jQuery Color Animations v3.0.0
* https://github.com/jquery/jquery-color
*
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license.
* https://jquery.org/license
*
- * Date: Sun May 10 09:02:36 2020 +0200
+ * Date: Wed May 15 16:49:44 2024 +0200
*/
-
var stepHooks = "backgroundColor borderBottomColor borderLeftColor borderRightColor " +
"borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor",
@@ -14180,10 +14173,6 @@ var jQuery = $;
floor: true
}
},
- support = color.support = {},
-
- // element for support tests
- supportElem = jQuery( "<p>" )[ 0 ],
// colors = jQuery.Color.names
colors,
@@ -14191,10 +14180,6 @@ var jQuery = $;
// local aliases of functions called often
each = jQuery.each;
-// determine rgba support immediately
-supportElem.style.cssText = "background-color:rgba(1,1,1,.5)";
-support.rgba = supportElem.style.backgroundColor.indexOf( "rgba" ) > -1;
-
// define cache name and alpha properties
// for rgba and hsla spaces
each( spaces, function( spaceName, space ) {
@@ -14232,12 +14217,6 @@ function clamp( value, prop, allowEmpty ) {
// ~~ is an short way of doing floor for positive numbers
value = type.floor ? ~~value : parseFloat( value );
- // IE will pass in empty strings as value for alpha,
- // which will hit this case
- if ( isNaN( value ) ) {
- return prop.def;
- }
-
if ( type.mod ) {
// we add mod before modding to make sure that negatives values
@@ -14350,7 +14329,10 @@ color.fn = jQuery.extend( color.prototype, {
} );
// everything defined but alpha?
- if ( inst[ cache ] && jQuery.inArray( null, inst[ cache ].slice( 0, 3 ) ) < 0 ) {
+ if ( inst[ cache ] && jQuery.inArray(
+ null,
+ inst[ cache ].slice( 0, 3 )
+ ) < 0 ) {
// use the default of 1
if ( inst[ cache ][ 3 ] == null ) {
@@ -14462,7 +14444,7 @@ color.fn = jQuery.extend( color.prototype, {
prefix = "rgb(";
}
- return prefix + rgba.join() + ")";
+ return prefix + rgba.join( ", " ) + ")";
},
toHslaString: function() {
var prefix = "hsla(",
@@ -14482,7 +14464,7 @@ color.fn = jQuery.extend( color.prototype, {
hsla.pop();
prefix = "hsl(";
}
- return prefix + hsla.join() + ")";
+ return prefix + hsla.join( ", " ) + ")";
},
toHexString: function( includeAlpha ) {
var rgba = this._rgba.slice(),
@@ -14495,12 +14477,11 @@ color.fn = jQuery.extend( color.prototype, {
return "#" + jQuery.map( rgba, function( v ) {
// default to 0 when nulls exist
- v = ( v || 0 ).toString( 16 );
- return v.length === 1 ? "0" + v : v;
+ return ( "0" + ( v || 0 ).toString( 16 ) ).substr( -2 );
} ).join( "" );
},
toString: function() {
- return this._rgba[ 3 ] === 0 ? "transparent" : this.toRgbaString();
+ return this.toRgbaString();
}
} );
color.fn.parse.prototype = color.fn;
@@ -14667,37 +14648,15 @@ color.hook = function( hook ) {
each( hooks, function( _i, hook ) {
jQuery.cssHooks[ hook ] = {
set: function( elem, value ) {
- var parsed, curElem,
- backgroundColor = "";
+ var parsed;
- if ( value !== "transparent" && ( getType( value ) !== "string" || ( parsed = stringParse( value ) ) ) ) {
+ if ( value !== "transparent" &&
+ ( getType( value ) !== "string" ||
+ ( parsed = stringParse( value ) ) ) ) {
value = color( parsed || value );
- if ( !support.rgba && value._rgba[ 3 ] !== 1 ) {
- curElem = hook === "backgroundColor" ? elem.parentNode : elem;
- while (
- ( backgroundColor === "" || backgroundColor === "transparent" ) &&
- curElem && curElem.style
- ) {
- try {
- backgroundColor = jQuery.css( curElem, "backgroundColor" );
- curElem = curElem.parentNode;
- } catch ( e ) {
- }
- }
-
- value = value.blend( backgroundColor && backgroundColor !== "transparent" ?
- backgroundColor :
- "_default" );
- }
-
value = value.toRgbaString();
}
- try {
- elem.style[ hook ] = value;
- } catch ( e ) {
-
- // wrapped to prevent IE from throwing errors on "invalid" values like 'auto' or 'inherit'
- }
+ elem.style[ hook ] = value;
}
};
jQuery.fx.step[ hook ] = function( fx ) {
@@ -14756,7 +14715,7 @@ colors = jQuery.Color.names = {
/*!
- * jQuery UI Effects 1.13.3
+ * jQuery UI Effects 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -14819,26 +14778,14 @@ function camelCase( string ) {
function getElementStyles( elem ) {
var key, len,
- style = elem.ownerDocument.defaultView ?
- elem.ownerDocument.defaultView.getComputedStyle( elem, null ) :
- elem.currentStyle,
+ style = elem.ownerDocument.defaultView.getComputedStyle( elem ),
styles = {};
- if ( style && style.length && style[ 0 ] && style[ style[ 0 ] ] ) {
- len = style.length;
- while ( len-- ) {
- key = style[ len ];
- if ( typeof style[ key ] === "string" ) {
- styles[ camelCase( key ) ] = style[ key ];
- }
- }
-
- // Support: Opera, IE <9
- } else {
- for ( key in style ) {
- if ( typeof style[ key ] === "string" ) {
- styles[ key ] = style[ key ];
- }
+ len = style.length;
+ while ( len-- ) {
+ key = style[ len ];
+ if ( typeof style[ key ] === "string" ) {
+ styles[ camelCase( key ) ] = style[ key ];
}
}
@@ -14863,15 +14810,6 @@ function styleDifference( oldStyle, newStyle ) {
return diff;
}
-// Support: jQuery <1.8
-if ( !$.fn.addBack ) {
- $.fn.addBack = function( selector ) {
- return this.add( selector == null ?
- this.prevObject : this.prevObject.filter( selector )
- );
- };
-}
-
$.effects.animateClass = function( value, duration, easing, callback ) {
var o = $.speed( duration, easing, callback );
@@ -15011,7 +14949,7 @@ if ( $.expr && $.expr.pseudos && $.expr.pseudos.animated ) {
} )( $.expr.pseudos.animated );
}
-if ( $.uiBackCompat !== false ) {
+if ( $.uiBackCompat === true ) {
$.extend( $.effects, {
// Saves a set of properties in a data storage
@@ -15140,7 +15078,7 @@ if ( $.uiBackCompat !== false ) {
}
$.extend( $.effects, {
- version: "1.13.3",
+ version: "1.14.0",
define: function( name, mode, effect ) {
if ( !effect ) {
@@ -15497,7 +15435,7 @@ $.fn.extend( {
// as toggle can be either show or hide depending on element state
args.mode = modes.shift();
- if ( $.uiBackCompat !== false && !defaultMode ) {
+ if ( $.uiBackCompat === true && !defaultMode ) {
if ( elem.is( ":hidden" ) ? mode === "hide" : mode === "show" ) {
// Call the core method to track "olddisplay" properly
@@ -15708,7 +15646,7 @@ var effect = $.effects;
/*!
- * jQuery UI Effects Blind 1.13.3
+ * jQuery UI Effects Blind 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -15763,7 +15701,7 @@ var effectsEffectBlind = $.effects.define( "blind", "hide", function( options, d
/*!
- * jQuery UI Effects Bounce 1.13.3
+ * jQuery UI Effects Bounce 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -15858,7 +15796,7 @@ var effectsEffectBounce = $.effects.define( "bounce", function( options, done )
/*!
- * jQuery UI Effects Clip 1.13.3
+ * jQuery UI Effects Clip 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -15908,7 +15846,7 @@ var effectsEffectClip = $.effects.define( "clip", "hide", function( options, don
/*!
- * jQuery UI Effects Drop 1.13.3
+ * jQuery UI Effects Drop 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -15962,7 +15900,7 @@ var effectsEffectDrop = $.effects.define( "drop", "hide", function( options, don
/*!
- * jQuery UI Effects Explode 1.13.3
+ * jQuery UI Effects Explode 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -16058,7 +15996,7 @@ var effectsEffectExplode = $.effects.define( "explode", "hide", function( option
/*!
- * jQuery UI Effects Fade 1.13.3
+ * jQuery UI Effects Fade 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -16090,7 +16028,7 @@ var effectsEffectFade = $.effects.define( "fade", "toggle", function( options, d
/*!
- * jQuery UI Effects Fold 1.13.3
+ * jQuery UI Effects Fold 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -16164,7 +16102,7 @@ var effectsEffectFold = $.effects.define( "fold", "hide", function( options, don
/*!
- * jQuery UI Effects Highlight 1.13.3
+ * jQuery UI Effects Highlight 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -16206,7 +16144,7 @@ var effectsEffectHighlight = $.effects.define( "highlight", "show", function( op
/*!
- * jQuery UI Effects Size 1.13.3
+ * jQuery UI Effects Size 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -16384,7 +16322,7 @@ var effectsEffectSize = $.effects.define( "size", function( options, done ) {
/*!
- * jQuery UI Effects Scale 1.13.3
+ * jQuery UI Effects Scale 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -16424,7 +16362,7 @@ var effectsEffectScale = $.effects.define( "scale", function( options, done ) {
/*!
- * jQuery UI Effects Puff 1.13.3
+ * jQuery UI Effects Puff 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -16450,7 +16388,7 @@ var effectsEffectPuff = $.effects.define( "puff", "hide", function( options, don
/*!
- * jQuery UI Effects Pulsate 1.13.3
+ * jQuery UI Effects Pulsate 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -16499,7 +16437,7 @@ var effectsEffectPulsate = $.effects.define( "pulsate", "show", function( option
/*!
- * jQuery UI Effects Shake 1.13.3
+ * jQuery UI Effects Shake 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -16558,7 +16496,7 @@ var effectsEffectShake = $.effects.define( "shake", function( options, done ) {
/*!
- * jQuery UI Effects Slide 1.13.3
+ * jQuery UI Effects Slide 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -16619,7 +16557,7 @@ var effectsEffectSlide = $.effects.define( "slide", "show", function( options, d
/*!
- * jQuery UI Effects Transfer 1.13.3
+ * jQuery UI Effects Transfer 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -16635,7 +16573,7 @@ var effectsEffectSlide = $.effects.define( "slide", "show", function( options, d
var effect;
-if ( $.uiBackCompat !== false ) {
+if ( $.uiBackCompat === true ) {
effect = $.effects.define( "transfer", function( options, done ) {
$( this ).transfer( options, done );
} );
@@ -16644,7 +16582,7 @@ var effectsEffectTransfer = effect;
/*!
- * jQuery UI Focusable 1.13.3
+ * jQuery UI Focusable 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -16693,20 +16631,10 @@ $.ui.focusable = function( element, hasTabindex ) {
focusableIfVisible = hasTabindex;
}
- return focusableIfVisible && $( element ).is( ":visible" ) && visible( $( element ) );
+ return focusableIfVisible && $( element ).is( ":visible" ) &&
+ $( element ).css( "visibility" ) === "visible";
};
-// Support: IE 8 only
-// IE 8 doesn't resolve inherit to visible/hidden for computed values
-function visible( element ) {
- var visibility = element.css( "visibility" );
- while ( visibility === "inherit" ) {
- element = element.parent();
- visibility = element.css( "visibility" );
- }
- return visibility === "visible";
-}
-
$.extend( $.expr.pseudos, {
focusable: function( element ) {
return $.ui.focusable( element, $.attr( element, "tabindex" ) != null );
@@ -16716,17 +16644,8 @@ $.extend( $.expr.pseudos, {
var focusable = $.ui.focusable;
-
-// Support: IE8 Only
-// IE8 does not support the form attribute and when it is supplied. It overwrites the form prop
-// with a string, so we need to find the proper form.
-var form = $.fn._form = function() {
- return typeof this[ 0 ].form === "string" ? this.closest( "form" ) : $( this[ 0 ].form );
-};
-
-
/*!
- * jQuery UI Form Reset Mixin 1.13.3
+ * jQuery UI Form Reset Mixin 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -16754,7 +16673,7 @@ var formResetMixin = $.ui.formResetMixin = {
},
_bindFormResetHandler: function() {
- this.form = this.element._form();
+ this.form = $( this.element.prop( "form" ) );
if ( !this.form.length ) {
return;
}
@@ -16788,7 +16707,7 @@ var formResetMixin = $.ui.formResetMixin = {
/*!
- * jQuery UI Support for jQuery core 1.8.x and newer 1.13.3
+ * jQuery UI Legacy jQuery Core patches 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -16797,50 +16716,17 @@ var formResetMixin = $.ui.formResetMixin = {
*
*/
-//>>label: jQuery 1.8+ Support
+//>>label: Legacy jQuery Core patches
//>>group: Core
-//>>description: Support version 1.8.x and newer of jQuery core
-
+//>>description: Backport `.even()`, `.odd()` and `$.escapeSelector` to older jQuery Core versions (deprecated)
-// Support: jQuery 1.9.x or older
-// $.expr[ ":" ] is deprecated.
-if ( !$.expr.pseudos ) {
- $.expr.pseudos = $.expr[ ":" ];
-}
-
-// Support: jQuery 1.11.x or older
-// $.unique has been renamed to $.uniqueSort
-if ( !$.uniqueSort ) {
- $.uniqueSort = $.unique;
-}
// Support: jQuery 2.2.x or older.
// This method has been defined in jQuery 3.0.0.
// Code from https://github.com/jquery/jquery/blob/e539bac79e666bba95bba86d690b4e609dca2286/src/selector/escapeSelector.js
if ( !$.escapeSelector ) {
-
- // CSS string/identifier serialization
- // https://drafts.csswg.org/cssom/#common-serializing-idioms
- var rcssescape = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;
-
- var fcssescape = function( ch, asCodePoint ) {
- if ( asCodePoint ) {
-
- // U+0000 NULL becomes U+FFFD REPLACEMENT CHARACTER
- if ( ch === "\0" ) {
- return "\uFFFD";
- }
-
- // Control characters and (dependent upon position) numbers get escaped as code points
- return ch.slice( 0, -1 ) + "\\" + ch.charCodeAt( ch.length - 1 ).toString( 16 ) + " ";
- }
-
- // Other potentially-special ASCII characters get backslash-escaped
- return "\\" + ch;
- };
-
- $.escapeSelector = function( sel ) {
- return ( sel + "" ).replace( rcssescape, fcssescape );
+ $.escapeSelector = function( id ) {
+ return CSS.escape( id + "" );
};
}
@@ -16863,7 +16749,7 @@ if ( !$.fn.even || !$.fn.odd ) {
;
/*!
- * jQuery UI Keycode 1.13.3
+ * jQuery UI Keycode 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -16898,7 +16784,7 @@ var keycode = $.ui.keyCode = {
/*!
- * jQuery UI Labels 1.13.3
+ * jQuery UI Labels 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -16924,9 +16810,8 @@ var labels = $.fn.labels = function() {
return this.pushStack( this[ 0 ].labels );
}
- // Support: IE <= 11, FF <= 37, Android <= 2.3 only
- // Above browsers do not support control.labels. Everything below is to support them
- // as well as document fragments. control.labels does not work on document fragments
+ // If `control.labels` is empty - e.g. inside of document fragments - find
+ // the labels manually
labels = this.eq( 0 ).parents( "label" );
// Look for the label based on the id
@@ -16941,7 +16826,7 @@ var labels = $.fn.labels = function() {
ancestors = ancestor.add( ancestor.length ? ancestor.siblings() : this.siblings() );
// Create a selector for the label based on the id
- selector = "label[for='" + $.escapeSelector( id ) + "']";
+ selector = "label[for='" + CSS.escape( id ) + "']";
labels = labels.add( ancestors.find( selector ).addBack( selector ) );
@@ -16953,7 +16838,7 @@ var labels = $.fn.labels = function() {
/*!
- * jQuery UI Scroll Parent 1.13.3
+ * jQuery UI Scroll Parent 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -16987,7 +16872,7 @@ var scrollParent = $.fn.scrollParent = function( includeHidden ) {
/*!
- * jQuery UI Tabbable 1.13.3
+ * jQuery UI Tabbable 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -17011,7 +16896,7 @@ var tabbable = $.extend( $.expr.pseudos, {
/*!
- * jQuery UI Unique ID 1.13.3
+ * jQuery UI Unique ID 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -17049,7 +16934,7 @@ var uniqueId = $.fn.extend( {
/*!
- * jQuery UI Accordion 1.13.3
+ * jQuery UI Accordion 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -17070,7 +16955,7 @@ var uniqueId = $.fn.extend( {
var widgetsAccordion = $.widget( "ui.accordion", {
- version: "1.13.3",
+ version: "1.14.0",
options: {
active: 0,
animate: {},
@@ -17082,7 +16967,17 @@ var widgetsAccordion = $.widget( "ui.accordion", {
collapsible: false,
event: "click",
header: function( elem ) {
- return elem.find( "> li > :first-child" ).add( elem.find( "> :not(li)" ).even() );
+ return elem
+ .find( "> li > :first-child" )
+ .add(
+ elem.find( "> :not(li)" )
+
+ // Support: jQuery <3.5 only
+ // We could use `.even()` but that's unavailable in older jQuery.
+ .filter( function( i ) {
+ return i % 2 === 0;
+ } )
+ );
},
heightStyle: "auto",
icons: {
@@ -17217,13 +17112,7 @@ var widgetsAccordion = $.widget( "ui.accordion", {
this._super( value );
this.element.attr( "aria-disabled", value );
-
- // Support: IE8 Only
- // #5332 / #6059 - opacity doesn't cascade to positioned elements in IE
- // so we need to add the disabled class to the headers and panels
this._toggleClass( null, "ui-state-disabled", !!value );
- this._toggleClass( this.headers.add( this.headers.next() ), null, "ui-state-disabled",
- !!value );
},
_keydown: function( event ) {
@@ -17641,47 +17530,13 @@ var widgetsAccordion = $.widget( "ui.accordion", {
this._removeClass( prev, "ui-accordion-header-active" )
._addClass( prev, "ui-accordion-header-collapsed" );
- // Work around for rendering bug in IE (#5421)
- if ( toHide.length ) {
- toHide.parent()[ 0 ].className = toHide.parent()[ 0 ].className;
- }
this._trigger( "activate", null, data );
}
} );
-
-var safeActiveElement = $.ui.safeActiveElement = function( document ) {
- var activeElement;
-
- // Support: IE 9 only
- // IE9 throws an "Unspecified error" accessing document.activeElement from an <iframe>
- try {
- activeElement = document.activeElement;
- } catch ( error ) {
- activeElement = document.body;
- }
-
- // Support: IE 9 - 11 only
- // IE may return null instead of an element
- // Interestingly, this only seems to occur when NOT in an iframe
- if ( !activeElement ) {
- activeElement = document.body;
- }
-
- // Support: IE 11 only
- // IE11 returns a seemingly empty object in some cases when accessing
- // document.activeElement from an <iframe>
- if ( !activeElement.nodeName ) {
- activeElement = document.body;
- }
-
- return activeElement;
-};
-
-
/*!
- * jQuery UI Menu 1.13.3
+ * jQuery UI Menu 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -17700,7 +17555,7 @@ var safeActiveElement = $.ui.safeActiveElement = function( document ) {
var widgetsMenu = $.widget( "ui.menu", {
- version: "1.13.3",
+ version: "1.14.0",
defaultElement: "<ul>",
delay: 300,
options: {
@@ -17747,7 +17602,7 @@ var widgetsMenu = $.widget( "ui.menu", {
},
"click .ui-menu-item": function( event ) {
var target = $( event.target );
- var active = $( $.ui.safeActiveElement( this.document[ 0 ] ) );
+ var active = $( this.document[ 0 ].activeElement );
if ( !this.mouseHandled && target.not( ".ui-state-disabled" ).length ) {
this.select( event );
@@ -17791,7 +17646,7 @@ var widgetsMenu = $.widget( "ui.menu", {
this._delay( function() {
var notContained = !$.contains(
this.element[ 0 ],
- $.ui.safeActiveElement( this.document[ 0 ] )
+ this.document[ 0 ].activeElement
);
if ( notContained ) {
this.collapseAll( event );
@@ -18372,7 +18227,7 @@ var widgetsMenu = $.widget( "ui.menu", {
/*!
- * jQuery UI Autocomplete 1.13.3
+ * jQuery UI Autocomplete 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -18391,7 +18246,7 @@ var widgetsMenu = $.widget( "ui.menu", {
$.widget( "ui.autocomplete", {
- version: "1.13.3",
+ version: "1.14.0",
defaultElement: "<input>",
options: {
appendTo: null,
@@ -18435,9 +18290,9 @@ $.widget( "ui.autocomplete", {
// Textareas are always multi-line
// Inputs are always single-line, even if inside a contentEditable element
- // IE also treats inputs as contentEditable
- // All other element types are determined by whether or not they're contentEditable
- this.isMultiLine = isTextarea || !isInput && this._isContentEditable( this.element );
+ // All other element types are determined by whether they're contentEditable
+ this.isMultiLine = isTextarea ||
+ !isInput && this.element.prop( "contentEditable" ) === "true";
this.valueMethod = this.element[ isTextarea || isInput ? "val" : "text" ];
this.isNewMenu = true;
@@ -18501,7 +18356,6 @@ $.widget( "ui.autocomplete", {
// Different browsers have different default behavior for escape
// Single press can mean undo or clear
- // Double press in IE means clear the whole form
event.preventDefault();
}
break;
@@ -18570,16 +18424,6 @@ $.widget( "ui.autocomplete", {
role: null
} )
.hide()
-
- // Support: IE 11 only, Edge <= 14
- // For other browsers, we preventDefault() on the mousedown event
- // to keep the dropdown from taking focus from the input. This doesn't
- // work for IE/Edge, causing problems with selection and scrolling (#9638)
- // Happily, IE and Edge support an "unselectable" attribute that
- // prevents an element from receiving focus, exactly what we want here.
- .attr( {
- "unselectable": "on"
- } )
.menu( "instance" );
this._addClass( this.menu.element, "ui-autocomplete", "ui-front" );
@@ -18592,7 +18436,7 @@ $.widget( "ui.autocomplete", {
menufocus: function( event, ui ) {
var label, item;
- // support: Firefox
+ // Support: Firefox
// Prevent accidental activation of menu items in Firefox (#7024 #9118)
if ( this.isNewMenu ) {
this.isNewMenu = false;
@@ -18630,17 +18474,9 @@ $.widget( "ui.autocomplete", {
previous = this.previous;
// Only trigger when focus was lost (click on menu)
- if ( this.element[ 0 ] !== $.ui.safeActiveElement( this.document[ 0 ] ) ) {
+ if ( this.element[ 0 ] !== this.document[ 0 ].activeElement ) {
this.element.trigger( "focus" );
this.previous = previous;
-
- // #6109 - IE triggers two focus events and the second
- // is asynchronous, so we need to reset the previous
- // term synchronously and asynchronously :-(
- this._delay( function() {
- this.previous = previous;
- this.selectedItem = item;
- } );
}
if ( false !== this._trigger( "select", event, { item: item } ) ) {
@@ -18959,24 +18795,6 @@ $.widget( "ui.autocomplete", {
// Prevents moving cursor to beginning/end of the text field in some browsers
event.preventDefault();
}
- },
-
- // Support: Chrome <=50
- // We should be able to just use this.element.prop( "isContentEditable" )
- // but hidden elements always report false in Chrome.
- // https://code.google.com/p/chromium/issues/detail?id=313082
- _isContentEditable: function( element ) {
- if ( !element.length ) {
- return false;
- }
-
- var editable = element.prop( "contentEditable" );
-
- if ( editable === "inherit" ) {
- return this._isContentEditable( element.parent() );
- }
-
- return editable === "true";
}
} );
@@ -19028,7 +18846,7 @@ var widgetsAutocomplete = $.ui.autocomplete;
/*!
- * jQuery UI Controlgroup 1.13.3
+ * jQuery UI Controlgroup 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -19049,7 +18867,7 @@ var widgetsAutocomplete = $.ui.autocomplete;
var controlgroupCornerRegex = /ui-corner-([a-z]){2,6}/g;
var widgetsControlgroup = $.widget( "ui.controlgroup", {
- version: "1.13.3",
+ version: "1.14.0",
defaultElement: "<div>",
options: {
direction: "horizontal",
@@ -19313,7 +19131,7 @@ var widgetsControlgroup = $.widget( "ui.controlgroup", {
} );
/*!
- * jQuery UI Checkboxradio 1.13.3
+ * jQuery UI Checkboxradio 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -19333,7 +19151,7 @@ var widgetsControlgroup = $.widget( "ui.controlgroup", {
$.widget( "ui.checkboxradio", [ $.ui.formResetMixin, {
- version: "1.13.3",
+ version: "1.14.0",
options: {
disabled: null,
label: null,
@@ -19451,7 +19269,7 @@ $.widget( "ui.checkboxradio", [ $.ui.formResetMixin, {
_getRadioGroup: function() {
var group;
var name = this.element[ 0 ].name;
- var nameSelector = "input[name='" + $.escapeSelector( name ) + "']";
+ var nameSelector = "input[name='" + CSS.escape( name ) + "']";
if ( !name ) {
return $( [] );
@@ -19463,7 +19281,7 @@ $.widget( "ui.checkboxradio", [ $.ui.formResetMixin, {
// Not inside a form, check all inputs that also are not inside a form
group = $( nameSelector ).filter( function() {
- return $( this )._form().length === 0;
+ return $( $( this ).prop( "form" ) ).length === 0;
} );
}
@@ -19584,7 +19402,7 @@ var widgetsCheckboxradio = $.ui.checkboxradio;
/*!
- * jQuery UI Button 1.13.3
+ * jQuery UI Button 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -19603,7 +19421,7 @@ var widgetsCheckboxradio = $.ui.checkboxradio;
$.widget( "ui.button", {
- version: "1.13.3",
+ version: "1.14.0",
defaultElement: "<button>",
options: {
classes: {
@@ -19670,9 +19488,9 @@ $.widget( "ui.button", {
if ( event.keyCode === $.ui.keyCode.SPACE ) {
event.preventDefault();
- // Support: PhantomJS <= 1.9, IE 8 Only
- // If a native click is available use it so we actually cause navigation
- // otherwise just trigger a click event
+ // If a native click is available use it, so we
+ // actually cause navigation. Otherwise, just trigger
+ // a click event.
if ( this.element[ 0 ].click ) {
this.element[ 0 ].click();
} else {
@@ -19848,7 +19666,7 @@ $.widget( "ui.button", {
} );
// DEPRECATED
-if ( $.uiBackCompat !== false ) {
+if ( $.uiBackCompat === true ) {
// Text and Icons options
$.widget( "ui.button", $.ui.button, {
@@ -20010,7 +19828,7 @@ var widgetsButton = $.ui.button;
/* eslint-disable max-len, camelcase */
/*!
- * jQuery UI Datepicker 1.13.3
+ * jQuery UI Datepicker 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -20028,7 +19846,7 @@ var widgetsButton = $.ui.button;
//>>css.theme: ../../themes/base/theme.css
-$.extend( $.ui, { datepicker: { version: "1.13.3" } } );
+$.extend( $.ui, { datepicker: { version: "1.14.0" } } );
var datepicker_instActive;
@@ -20427,6 +20245,7 @@ $.extend( Datepicker.prototype, {
$target.removeClass( this.markerClassName ).empty();
}
+ $.datepicker._hideDatepicker();
if ( datepicker_instActive === inst ) {
datepicker_instActive = null;
this._curInst = null;
@@ -20902,11 +20721,8 @@ $.extend( Datepicker.prototype, {
}
},
- // #6694 - don't focus the input if it's already focused
- // this breaks the change event in IE
- // Support: IE and jQuery <1.9
_shouldFocusInput: function( inst ) {
- return inst.input && inst.input.is( ":visible" ) && !inst.input.is( ":disabled" ) && !inst.input.is( ":focus" );
+ return inst.input && inst.input.is( ":visible" ) && !inst.input.is( ":disabled" );
},
/* Check positioning to remain on screen. */
@@ -20963,8 +20779,7 @@ $.extend( Datepicker.prototype, {
$.datepicker._tidyDialog( inst );
};
- // DEPRECATED: after BC for 1.8.x $.effects[ showAnim ] is not needed
- if ( $.effects && ( $.effects.effect[ showAnim ] || $.effects[ showAnim ] ) ) {
+ if ( $.effects && ( $.effects.effect[ showAnim ] ) ) {
inst.dpDiv.hide( showAnim, $.datepicker._get( inst, "showOptions" ), duration, postProcess );
} else {
inst.dpDiv[ ( showAnim === "slideDown" ? "slideUp" :
@@ -22225,17 +22040,13 @@ $.fn.datepicker = function( options ) {
$.datepicker = new Datepicker(); // singleton instance
$.datepicker.initialized = false;
$.datepicker.uuid = new Date().getTime();
-$.datepicker.version = "1.13.3";
+$.datepicker.version = "1.14.0";
var widgetsDatepicker = $.datepicker;
-
-// This file is deprecated
-var ie = $.ui.ie = !!/msie [\w.]+/.exec( navigator.userAgent.toLowerCase() );
-
/*!
- * jQuery UI Mouse 1.13.3
+ * jQuery UI Mouse 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -22255,7 +22066,7 @@ $( document ).on( "mouseup", function() {
} );
var widgetsMouse = $.widget( "ui.mouse", {
- version: "1.13.3",
+ version: "1.14.0",
options: {
cancel: "input, textarea, button, select, option",
distance: 1,
@@ -22307,12 +22118,10 @@ var widgetsMouse = $.widget( "ui.mouse", {
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 );
+ btnIsLeft = event.which === 1,
+ elIsCancel = typeof this.options.cancel === "string" ?
+ $( event.target ).closest( this.options.cancel ).length :
+ false;
if ( !btnIsLeft || elIsCancel || !this._mouseCapture( event ) ) {
return true;
}
@@ -22358,28 +22167,17 @@ var widgetsMouse = $.widget( "ui.mouse", {
_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 ) {
+ // at least once.
+ if ( this._mouseMoved && !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 );
-
- // 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 );
- }
}
}
@@ -22485,19 +22283,8 @@ var plugin = $.ui.plugin = {
};
-
-var safeBlur = $.ui.safeBlur = function( element ) {
-
- // Support: IE9 - 10 only
- // If the <body> is blurred, IE will switch windows, see #9420
- if ( element && element.nodeName.toLowerCase() !== "body" ) {
- $( element ).trigger( "blur" );
- }
-};
-
-
/*!
- * jQuery UI Draggable 1.13.3
+ * jQuery UI Draggable 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -22514,7 +22301,7 @@ var safeBlur = $.ui.safeBlur = function( element ) {
$.widget( "ui.draggable", $.ui.mouse, {
- version: "1.13.3",
+ version: "1.14.0",
widgetEventPrefix: "drag",
options: {
addClasses: true,
@@ -22621,7 +22408,7 @@ $.widget( "ui.draggable", $.ui.mouse, {
},
_blurActiveElement: function( event ) {
- var activeElement = $.ui.safeActiveElement( this.document[ 0 ] ),
+ var activeElement = this.document[ 0 ].activeElement,
target = $( event.target );
// Don't blur if the event occurred on an element that is within
@@ -22632,7 +22419,7 @@ $.widget( "ui.draggable", $.ui.mouse, {
}
// Blur any element that currently has focus, see #4261
- $.ui.safeBlur( activeElement );
+ $( activeElement ).trigger( "blur" );
},
_mouseStart: function( event ) {
@@ -23732,7 +23519,7 @@ var widgetsDraggable = $.ui.draggable;
/*!
- * jQuery UI Resizable 1.13.3
+ * jQuery UI Resizable 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -23751,7 +23538,7 @@ var widgetsDraggable = $.ui.draggable;
$.widget( "ui.resizable", $.ui.mouse, {
- version: "1.13.3",
+ version: "1.14.0",
widgetEventPrefix: "resize",
options: {
alsoResize: false,
@@ -23861,9 +23648,8 @@ $.widget( "ui.resizable", $.ui.mouse, {
};
this.element.css( margins );
- this.originalElement.css( "margin", 0 );
- // support: Safari
+ // Support: Safari
// Prevent Safari textarea resize
this.originalResizeStyle = this.originalElement.css( "resize" );
this.originalElement.css( "resize", "none" );
@@ -23874,10 +23660,6 @@ $.widget( "ui.resizable", $.ui.mouse, {
display: "block"
} ) );
- // Support: IE9
- // avoid IE jump (hard set the margin)
- this.originalElement.css( margins );
-
this._proportionallyResize();
}
@@ -24825,7 +24607,7 @@ $.ui.plugin.add( "resizable", "ghost", {
// DEPRECATED
// TODO: remove after 1.12
- if ( $.uiBackCompat !== false && typeof that.options.ghost === "string" ) {
+ if ( $.uiBackCompat === true && typeof that.options.ghost === "string" ) {
// Ghost option
that.ghost.addClass( this.options.ghost );
@@ -24933,7 +24715,7 @@ var widgetsResizable = $.ui.resizable;
/*!
- * jQuery UI Dialog 1.13.3
+ * jQuery UI Dialog 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -24952,7 +24734,7 @@ var widgetsResizable = $.ui.resizable;
$.widget( "ui.dialog", {
- version: "1.13.3",
+ version: "1.14.0",
options: {
appendTo: "body",
autoOpen: true,
@@ -25134,7 +24916,7 @@ $.widget( "ui.dialog", {
// Hiding a focused element doesn't trigger blur in WebKit
// so in case we have nothing to focus on, explicitly blur the active element
// https://bugs.webkit.org/show_bug.cgi?id=47182
- $.ui.safeBlur( $.ui.safeActiveElement( this.document[ 0 ] ) );
+ $( this.document[ 0 ].activeElement ).trigger( "blur" );
}
this._hide( this.uiDialog, this.options.hide, function() {
@@ -25178,7 +24960,7 @@ $.widget( "ui.dialog", {
}
this._isOpen = true;
- this.opener = $( $.ui.safeActiveElement( this.document[ 0 ] ) );
+ this.opener = $( this.document[ 0 ].activeElement );
this._size();
this._position();
@@ -25234,7 +25016,7 @@ $.widget( "ui.dialog", {
},
_restoreTabbableFocus: function() {
- var activeElement = $.ui.safeActiveElement( this.document[ 0 ] ),
+ var activeElement = this.document[ 0 ].activeElement,
isActive = this.uiDialog[ 0 ] === activeElement ||
$.contains( this.uiDialog[ 0 ], activeElement );
if ( !isActive ) {
@@ -25245,11 +25027,6 @@ $.widget( "ui.dialog", {
_keepFocus: function( event ) {
event.preventDefault();
this._restoreTabbableFocus();
-
- // support: IE
- // IE <= 8 doesn't prevent moving focus even with event.preventDefault()
- // so we check again later
- this._delay( this._restoreTabbableFocus );
},
_createWrapper: function() {
@@ -25259,7 +25036,8 @@ $.widget( "ui.dialog", {
// Setting tabIndex makes the div focusable
tabIndex: -1,
- role: "dialog"
+ role: "dialog",
+ "aria-modal": this.options.modal ? "true" : null
} )
.appendTo( this._appendTo() );
@@ -25332,9 +25110,6 @@ $.widget( "ui.dialog", {
}
} );
- // Support: IE
- // Use type="button" to prevent enter keypresses in textboxes from closing the
- // dialog in IE (#9312)
this.uiDialogTitlebarClose = $( "<button type='button'></button>" )
.button( {
label: $( "<a>" ).text( this.options.closeText ).html(),
@@ -25677,6 +25452,10 @@ $.widget( "ui.dialog", {
if ( key === "title" ) {
this._title( this.uiDialogTitlebar.find( ".ui-dialog-title" ) );
}
+
+ if ( key === "modal" ) {
+ uiDialog.attr( "aria-modal", value ? "true" : null );
+ }
},
_size: function() {
@@ -25762,8 +25541,6 @@ $.widget( "ui.dialog", {
return;
}
- var jqMinor = $.fn.jquery.substring( 0, 4 );
-
// We use a delay in case the overlay is created from an
// event that we're going to be cancelling (#2804)
var isOpening = true;
@@ -25785,18 +25562,6 @@ $.widget( "ui.dialog", {
if ( !instance._allowInteraction( event ) ) {
event.preventDefault();
instance._focusTabbable();
-
- // Support: jQuery >=3.4 <3.7 only
- // In jQuery 3.4-3.6, there are multiple issues with focus/blur
- // trigger chains or when triggering is done on a hidden element
- // at least once.
- // Trigger focus in a delay in addition if needed to avoid the issues.
- // See https://github.com/jquery/jquery/issues/4382
- // See https://github.com/jquery/jquery/issues/4856
- // See https://github.com/jquery/jquery/issues/4950
- if ( jqMinor === "3.4." || jqMinor === "3.5." || jqMinor === "3.6." ) {
- instance._delay( instance._restoreTabbableFocus );
- }
}
}.bind( this ) );
}
@@ -25835,7 +25600,7 @@ $.widget( "ui.dialog", {
// DEPRECATED
// TODO: switch return back to widget declaration at top of file when this is removed
-if ( $.uiBackCompat !== false ) {
+if ( $.uiBackCompat === true ) {
// Backcompat for dialogClass option
$.widget( "ui.dialog", $.ui.dialog, {
@@ -25861,7 +25626,7 @@ var widgetsDialog = $.ui.dialog;
/*!
- * jQuery UI Droppable 1.13.3
+ * jQuery UI Droppable 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -25877,7 +25642,7 @@ var widgetsDialog = $.ui.dialog;
$.widget( "ui.droppable", {
- version: "1.13.3",
+ version: "1.14.0",
widgetEventPrefix: "drop",
options: {
accept: "*",
@@ -26305,7 +26070,7 @@ $.ui.ddmanager = {
// DEPRECATED
// TODO: switch return back to widget declaration at top of file when this is removed
-if ( $.uiBackCompat !== false ) {
+if ( $.uiBackCompat === true ) {
// Backcompat for activeClass and hoverClass options
$.widget( "ui.droppable", $.ui.droppable, {
@@ -26344,7 +26109,7 @@ var widgetsDroppable = $.ui.droppable;
/*!
- * jQuery UI Progressbar 1.13.3
+ * jQuery UI Progressbar 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -26365,7 +26130,7 @@ var widgetsDroppable = $.ui.droppable;
var widgetsProgressbar = $.widget( "ui.progressbar", {
- version: "1.13.3",
+ version: "1.14.0",
options: {
classes: {
"ui-progressbar": "ui-corner-all",
@@ -26507,7 +26272,7 @@ var widgetsProgressbar = $.widget( "ui.progressbar", {
/*!
- * jQuery UI Selectable 1.13.3
+ * jQuery UI Selectable 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -26524,7 +26289,7 @@ var widgetsProgressbar = $.widget( "ui.progressbar", {
var widgetsSelectable = $.widget( "ui.selectable", $.ui.mouse, {
- version: "1.13.3",
+ version: "1.14.0",
options: {
appendTo: "body",
autoRefresh: true,
@@ -26805,7 +26570,7 @@ var widgetsSelectable = $.widget( "ui.selectable", $.ui.mouse, {
/*!
- * jQuery UI Selectmenu 1.13.3
+ * jQuery UI Selectmenu 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -26826,7 +26591,7 @@ var widgetsSelectable = $.widget( "ui.selectable", $.ui.mouse, {
var widgetsSelectmenu = $.widget( "ui.selectmenu", [ $.ui.formResetMixin, {
- version: "1.13.3",
+ version: "1.14.0",
defaultElement: "<select>",
options: {
appendTo: null,
@@ -26949,12 +26714,6 @@ var widgetsSelectmenu = $.widget( "ui.selectmenu", [ $.ui.formResetMixin, {
role: "listbox",
select: function( event, ui ) {
event.preventDefault();
-
- // Support: IE8
- // If the item was selected via a click, the text selection
- // will be destroyed in IE
- that._setSelection();
-
that._select( ui.item.data( "ui-selectmenu-item" ), event );
},
focus: function( event, ui ) {
@@ -27191,20 +26950,9 @@ var widgetsSelectmenu = $.widget( "ui.selectmenu", [ $.ui.formResetMixin, {
return;
}
- if ( window.getSelection ) {
- selection = window.getSelection();
- selection.removeAllRanges();
- selection.addRange( this.range );
-
- // Support: IE8
- } else {
- this.range.select();
- }
-
- // Support: IE
- // Setting the text selection kills the button focus in IE, but
- // restoring the focus doesn't kill the selection.
- this.button.trigger( "focus" );
+ selection = window.getSelection();
+ selection.removeAllRanges();
+ selection.addRange( this.range );
},
_documentClick: {
@@ -27214,7 +26962,7 @@ var widgetsSelectmenu = $.widget( "ui.selectmenu", [ $.ui.formResetMixin, {
}
if ( !$( event.target ).closest( ".ui-selectmenu-menu, #" +
- $.escapeSelector( this.ids.button ) ).length ) {
+ CSS.escape( this.ids.button ) ).length ) {
this.close( event );
}
}
@@ -27224,17 +26972,9 @@ var widgetsSelectmenu = $.widget( "ui.selectmenu", [ $.ui.formResetMixin, {
// Prevent text selection from being reset when interacting with the selectmenu (#10144)
mousedown: function() {
- var selection;
-
- if ( window.getSelection ) {
- selection = window.getSelection();
- if ( selection.rangeCount ) {
- this.range = selection.getRangeAt( 0 );
- }
-
- // Support: IE8
- } else {
- this.range = document.selection.createRange();
+ var selection = window.getSelection();
+ if ( selection.rangeCount ) {
+ this.range = selection.getRangeAt( 0 );
}
},
@@ -27425,11 +27165,7 @@ var widgetsSelectmenu = $.widget( "ui.selectmenu", [ $.ui.formResetMixin, {
_resizeMenu: function() {
this.menu.outerWidth( Math.max(
this.button.outerWidth(),
-
- // Support: IE10
- // IE10 wraps long text (possibly a rounding bug)
- // so we add 1px to avoid the wrapping
- this.menu.width( "" ).outerWidth() + 1
+ this.menu.width( "" ).outerWidth()
) );
},
@@ -27476,7 +27212,7 @@ var widgetsSelectmenu = $.widget( "ui.selectmenu", [ $.ui.formResetMixin, {
/*!
- * jQuery UI Slider 1.13.3
+ * jQuery UI Slider 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -27495,7 +27231,7 @@ var widgetsSelectmenu = $.widget( "ui.selectmenu", [ $.ui.formResetMixin, {
var widgetsSlider = $.widget( "ui.slider", $.ui.mouse, {
- version: "1.13.3",
+ version: "1.14.0",
widgetEventPrefix: "slide",
options: {
@@ -28211,7 +27947,7 @@ var widgetsSlider = $.widget( "ui.slider", $.ui.mouse, {
/*!
- * jQuery UI Sortable 1.13.3
+ * jQuery UI Sortable 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -28228,7 +27964,7 @@ var widgetsSlider = $.widget( "ui.slider", $.ui.mouse, {
var widgetsSortable = $.widget( "ui.sortable", $.ui.mouse, {
- version: "1.13.3",
+ version: "1.14.0",
widgetEventPrefix: "sort",
ready: false,
options: {
@@ -28466,11 +28202,7 @@ var widgetsSortable = $.widget( "ui.sortable", $.ui.mouse, {
if ( o.cursor && o.cursor !== "auto" ) { // cursor option
body = this.document.find( "body" );
- // Support: IE
- this.storedCursor = body.css( "cursor" );
- body.css( "cursor", o.cursor );
-
- this.storedStylesheet =
+ this._storedStylesheet =
$( "<style>*{ cursor: " + o.cursor + " !important; }</style>" ).appendTo( body );
}
@@ -29387,11 +29119,9 @@ var widgetsSortable = $.widget( "ui.sortable", $.ui.mouse, {
po.top += this.scrollParent.scrollTop();
}
- // This needs to be actually done for all browsers, since pageX/pageY includes this
- // information with an ugly IE fix
- if ( this.offsetParent[ 0 ] === this.document[ 0 ].body ||
- ( this.offsetParent[ 0 ].tagName &&
- this.offsetParent[ 0 ].tagName.toLowerCase() === "html" && $.ui.ie ) ) {
+ // This needs to be actually done for all browsers, since pageX/pageY includes
+ // this information.
+ if ( this.offsetParent[ 0 ] === this.document[ 0 ].body ) {
po = { top: 0, left: 0 };
}
@@ -29739,9 +29469,9 @@ var widgetsSortable = $.widget( "ui.sortable", $.ui.mouse, {
}
//Do what was originally in plugins
- if ( this.storedCursor ) {
- this.document.find( "body" ).css( "cursor", this.storedCursor );
- this.storedStylesheet.remove();
+ if ( this._storedStylesheet ) {
+ this._storedStylesheet.remove();
+ this._storedStylesheet = null;
}
if ( this._storedOpacity ) {
this.helper.css( "opacity", this._storedOpacity );
@@ -29804,7 +29534,7 @@ var widgetsSortable = $.widget( "ui.sortable", $.ui.mouse, {
/*!
- * jQuery UI Spinner 1.13.3
+ * jQuery UI Spinner 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -29834,7 +29564,7 @@ function spinnerModifier( fn ) {
}
$.widget( "ui.spinner", {
- version: "1.13.3",
+ version: "1.14.0",
defaultElement: "<input>",
widgetEventPrefix: "spin",
options: {
@@ -29915,11 +29645,6 @@ $.widget( "ui.spinner", {
this.previous = this.element.val();
},
blur: function( event ) {
- if ( this.cancelBlur ) {
- delete this.cancelBlur;
- return;
- }
-
this._stop();
this._refresh();
if ( this.previous !== this.element.val() ) {
@@ -29927,7 +29652,7 @@ $.widget( "ui.spinner", {
}
},
mousewheel: function( event, delta ) {
- var activeElement = $.ui.safeActiveElement( this.document[ 0 ] );
+ var activeElement = this.document[ 0 ].activeElement;
var isActive = this.element[ 0 ] === activeElement;
if ( !isActive || !delta ) {
@@ -29955,20 +29680,13 @@ $.widget( "ui.spinner", {
// If the input is focused then this.previous is properly set from
// when the input first received focus. If the input is not focused
// then we need to set this.previous based on the value before spinning.
- previous = this.element[ 0 ] === $.ui.safeActiveElement( this.document[ 0 ] ) ?
+ previous = this.element[ 0 ] === this.document[ 0 ].activeElement ?
this.previous : this.element.val();
function checkFocus() {
- var isActive = this.element[ 0 ] === $.ui.safeActiveElement( this.document[ 0 ] );
+ var isActive = this.element[ 0 ] === this.document[ 0 ].activeElement;
if ( !isActive ) {
this.element.trigger( "focus" );
this.previous = previous;
-
- // support: IE
- // IE sets focus asynchronously, so we need to check if focus
- // moved off of the input because the user clicked on the button.
- this._delay( function() {
- this.previous = previous;
- } );
}
}
@@ -29976,16 +29694,6 @@ $.widget( "ui.spinner", {
event.preventDefault();
checkFocus.call( this );
- // Support: IE
- // IE doesn't prevent moving focus even with event.preventDefault()
- // so we set a flag to know when we should ignore the blur event
- // and check (again) if focus moved off of the input.
- this.cancelBlur = true;
- this._delay( function() {
- delete this.cancelBlur;
- checkFocus.call( this );
- } );
-
if ( this._start( event ) === false ) {
return;
}
@@ -30338,7 +30046,7 @@ $.widget( "ui.spinner", {
// DEPRECATED
// TODO: switch return back to widget declaration at top of file when this is removed
-if ( $.uiBackCompat !== false ) {
+if ( $.uiBackCompat === true ) {
// Backcompat for spinner html extension points
$.widget( "ui.spinner", $.ui.spinner, {
@@ -30365,7 +30073,7 @@ var widgetsSpinner = $.ui.spinner;
/*!
- * jQuery UI Tabs 1.13.3
+ * jQuery UI Tabs 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -30384,7 +30092,7 @@ var widgetsSpinner = $.ui.spinner;
$.widget( "ui.tabs", {
- version: "1.13.3",
+ version: "1.14.0",
delay: 300,
options: {
active: null,
@@ -30516,7 +30224,7 @@ $.widget( "ui.tabs", {
},
_tabKeydown: function( event ) {
- var focusedTab = $( $.ui.safeActiveElement( this.document[ 0 ] ) ).closest( "li" ),
+ var focusedTab = $( this.document[ 0 ].activeElement ).closest( "li" ),
selectedIndex = this.tabs.index( focusedTab ),
goingForward = true;
@@ -30753,18 +30461,6 @@ $.widget( "ui.tabs", {
if ( $( this ).is( ".ui-state-disabled" ) ) {
event.preventDefault();
}
- } )
-
- // Support: IE <9
- // Preventing the default action in mousedown doesn't prevent IE
- // from focusing the element, so if the anchor gets focused, blur.
- // We don't have to worry about focusing the previously focused
- // element since clicking on a non-focusable element should focus
- // the body anyway.
- .on( "focus" + this.eventNamespace, ".ui-tabs-anchor", function() {
- if ( $( this ).closest( "li" ).is( ".ui-state-disabled" ) ) {
- this.blur();
- }
} );
this.tabs = this.tablist.find( "> li:has(a[href])" )
@@ -31080,7 +30776,7 @@ $.widget( "ui.tabs", {
// meta-function to give users option to provide a href string instead of a numerical index.
if ( typeof index === "string" ) {
index = this.anchors.index( this.anchors.filter( "[href$='" +
- $.escapeSelector( index ) + "']" ) );
+ CSS.escape( index ) + "']" ) );
}
return index;
@@ -31202,32 +30898,19 @@ $.widget( "ui.tabs", {
this.xhr = $.ajax( this._ajaxSettings( anchor, event, eventData ) );
- // Support: jQuery <1.8
- // jQuery <1.8 returns false if the request is canceled in beforeSend,
- // but as of 1.8, $.ajax() always returns a jqXHR object.
- if ( this.xhr && this.xhr.statusText !== "canceled" ) {
+ if ( this.xhr.statusText !== "canceled" ) {
this._addClass( tab, "ui-tabs-loading" );
panel.attr( "aria-busy", "true" );
this.xhr
.done( function( response, status, jqXHR ) {
+ panel.html( response );
+ that._trigger( "load", event, eventData );
- // support: jQuery <1.8
- // https://bugs.jquery.com/ticket/11778
- setTimeout( function() {
- panel.html( response );
- that._trigger( "load", event, eventData );
-
- complete( jqXHR, status );
- }, 1 );
+ complete( jqXHR, status );
} )
.fail( function( jqXHR, status ) {
-
- // support: jQuery <1.8
- // https://bugs.jquery.com/ticket/11778
- setTimeout( function() {
- complete( jqXHR, status );
- }, 1 );
+ complete( jqXHR, status );
} );
}
},
@@ -31235,10 +30918,7 @@ $.widget( "ui.tabs", {
_ajaxSettings: function( anchor, event, eventData ) {
var that = this;
return {
-
- // Support: IE <11 only
- // Strip any hash that exists to prevent errors with the Ajax request
- url: anchor.attr( "href" ).replace( /#.*$/, "" ),
+ url: anchor.attr( "href" ),
beforeSend: function( jqXHR, settings ) {
return that._trigger( "beforeLoad", event,
$.extend( { jqXHR: jqXHR, ajaxSettings: settings }, eventData ) );
@@ -31254,7 +30934,7 @@ $.widget( "ui.tabs", {
// DEPRECATED
// TODO: Switch return back to widget declaration at top of file when this is removed
-if ( $.uiBackCompat !== false ) {
+if ( $.uiBackCompat === true ) {
// Backcompat for ui-tab class (now ui-tabs-tab)
$.widget( "ui.tabs", $.ui.tabs, {
@@ -31269,7 +30949,7 @@ var widgetsTabs = $.ui.tabs;
/*!
- * jQuery UI Tooltip 1.13.3
+ * jQuery UI Tooltip 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
@@ -31288,7 +30968,7 @@ var widgetsTabs = $.ui.tabs;
$.widget( "ui.tooltip", {
- version: "1.13.3",
+ version: "1.14.0",
options: {
classes: {
"ui-tooltip": "ui-corner-all ui-widget-shadow"
@@ -31476,25 +31156,20 @@ $.widget( "ui.tooltip", {
content = contentOption.call( target[ 0 ], function( response ) {
- // IE may instantly serve a cached response for ajax requests
- // delay this call to _open so the other call to _open runs first
- that._delay( function() {
-
- // Ignore async response if tooltip was closed already
- if ( !target.data( "ui-tooltip-open" ) ) {
- return;
- }
+ // Ignore async response if tooltip was closed already
+ if ( !target.data( "ui-tooltip-open" ) ) {
+ return;
+ }
- // JQuery creates a special event for focusin when it doesn't
- // exist natively. To improve performance, the native event
- // object is reused and the type is changed. Therefore, we can't
- // rely on the type being correct after the event finished
- // bubbling, so we set it back to the previous value. (#8740)
- if ( event ) {
- event.type = eventType;
- }
- this._open( event, target, response );
- } );
+ // JQuery creates a special event for focusin when it doesn't
+ // exist natively. To improve performance, the native event
+ // object is reused and the type is changed. Therefore, we can't
+ // rely on the type being correct after the event finished
+ // bubbling, so we set it back to the previous value. (#8740)
+ if ( event ) {
+ event.type = eventType;
+ }
+ that._open( event, target, response );
} );
if ( content ) {
this._open( event, target, content );
@@ -31754,7 +31429,7 @@ $.widget( "ui.tooltip", {
// DEPRECATED
// TODO: Switch return back to widget declaration at top of file when this is removed
-if ( $.uiBackCompat !== false ) {
+if ( $.uiBackCompat === true ) {
// Backcompat for tooltipClass option
$.widget( "ui.tooltip", $.ui.tooltip, {
@@ -63241,7 +62916,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
$.ui = $.ui || {};
-return $.ui.version = "1.13.3";
+return $.ui.version = "1.14.0";
} );
@@ -63255,7 +62930,7 @@ return $.ui.version = "1.13.3";
/***/ ((module, exports, __webpack_require__) => {
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
- * jQuery UI Widget 1.13.3
+ * jQuery UI Widget 1.14.0
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
diff --git a/public/mix-manifest.json b/public/mix-manifest.json
index 42b5760910..3bffe3f7c4 100644
--- a/public/mix-manifest.json
+++ b/public/mix-manifest.json
@@ -1,5 +1,5 @@
{
- "/js/build/app.js": "/js/build/app.js?id=1d7c22e5a4811c37a9d70bf354ae1e9d",
+ "/js/build/app.js": "/js/build/app.js?id=5e9ac5c1a7e089f056fb1dba566193a6",
"/css/dist/skins/skin-black-dark.css": "/css/dist/skins/skin-black-dark.css?id=f0b08873a06bb54daeee176a9459f4a9",
"/css/dist/skins/_all-skins.css": "/css/dist/skins/_all-skins.css?id=f4397c717b99fce41a633ca6edd5d1f4",
"/css/build/overrides.css": "/css/build/overrides.css?id=9265dbc8adc38d13abec7f8ff0374dce",
@@ -109,7 +109,7 @@
"/css/dist/skins/skin-yellow-dark.min.css": "/css/dist/skins/skin-yellow-dark.min.css?id=393aaa7b368b0670fc42434c8cca7dc7",
"/css/dist/skins/skin-yellow.min.css": "/css/dist/skins/skin-yellow.min.css?id=7b315b9612b8fde8f9c5b0ddb6bba690",
"/css/dist/bootstrap-table.css": "/css/dist/bootstrap-table.css?id=393d720a0f9aba560094fbc8d3b0c0f0",
- "/js/build/vendor.js": "/js/build/vendor.js?id=c1c24b883f48dc3d16b817aed0b457cc",
+ "/js/build/vendor.js": "/js/build/vendor.js?id=5269eb5a6beb74f03387c78938cf17b2",
"/js/dist/bootstrap-table.js": "/js/dist/bootstrap-table.js?id=6660df122e24940d42d03c06775fec7b",
- "/js/dist/all.js": "/js/dist/all.js?id=9fe982072b024cb5b1c41764713de1f7"
+ "/js/dist/all.js": "/js/dist/all.js?id=e0a4b1a80b09333a460973137f39eab4"
}