From 2a77d4c9dc430fc3e626a5808f72ec163aa71b48 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 27 Aug 2024 13:26:30 -0400 Subject: [PATCH 01/18] Bump org.jboss.weld.servlet:weld-servlet-core (#12527) Bumps org.jboss.weld.servlet:weld-servlet-core from 5.1.2.Final to 5.1.3.Final. --- updated-dependencies: - dependency-name: org.jboss.weld.servlet:weld-servlet-core dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- primefaces-integration-tests-jakarta/pom.xml | 2 +- primefaces-showcase/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/primefaces-integration-tests-jakarta/pom.xml b/primefaces-integration-tests-jakarta/pom.xml index 0168f01e31..03ff4daa95 100644 --- a/primefaces-integration-tests-jakarta/pom.xml +++ b/primefaces-integration-tests-jakarta/pom.xml @@ -72,7 +72,7 @@ org.jboss.weld.servlet weld-servlet-core - 5.1.2.Final + 5.1.3.Final jakarta.el diff --git a/primefaces-showcase/pom.xml b/primefaces-showcase/pom.xml index 3663f978f6..1c3efd26ce 100644 --- a/primefaces-showcase/pom.xml +++ b/primefaces-showcase/pom.xml @@ -22,7 +22,7 @@ 4.0.2 6.2.8.Final 12.0.12 - 5.1.2.Final + 5.1.3.Final Production From f56b871fbc1cee35390536d996e8db0383a95ac3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 27 Aug 2024 13:26:38 -0400 Subject: [PATCH 02/18] Bump org.apache.maven.plugins:maven-surefire-plugin from 3.4.0 to 3.5.0 (#12528) Bumps [org.apache.maven.plugins:maven-surefire-plugin](https://github.com/apache/maven-surefire) from 3.4.0 to 3.5.0. - [Release notes](https://github.com/apache/maven-surefire/releases) - [Commits](https://github.com/apache/maven-surefire/compare/surefire-3.4.0...surefire-3.5.0) --- updated-dependencies: - dependency-name: org.apache.maven.plugins:maven-surefire-plugin dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- pom.xml | 2 +- primefaces/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 8e9a5e3087..53f89bff41 100644 --- a/pom.xml +++ b/pom.xml @@ -194,7 +194,7 @@ org.apache.maven.plugins maven-surefire-plugin - 3.4.0 + 3.5.0 diff --git a/primefaces/pom.xml b/primefaces/pom.xml index 7676280aab..00da7b9de5 100644 --- a/primefaces/pom.xml +++ b/primefaces/pom.xml @@ -1277,7 +1277,7 @@ org.apache.maven.plugins maven-surefire-plugin - 3.4.0 + 3.5.0 From 7aee87e24b566765965f0fd2744f8b9f5aadd66e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 27 Aug 2024 13:26:45 -0400 Subject: [PATCH 03/18] Bump org.apache.maven.plugins:maven-failsafe-plugin from 3.4.0 to 3.5.0 (#12530) Bumps [org.apache.maven.plugins:maven-failsafe-plugin](https://github.com/apache/maven-surefire) from 3.4.0 to 3.5.0. - [Release notes](https://github.com/apache/maven-surefire/releases) - [Commits](https://github.com/apache/maven-surefire/compare/surefire-3.4.0...surefire-3.5.0) --- updated-dependencies: - dependency-name: org.apache.maven.plugins:maven-failsafe-plugin dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 53f89bff41..afee6c4f2e 100644 --- a/pom.xml +++ b/pom.xml @@ -188,7 +188,7 @@ org.apache.maven.plugins maven-failsafe-plugin - 3.4.0 + 3.5.0 From 9167192aaff8fcf0e39b7ecbc4d195d22a558f2d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 27 Aug 2024 13:26:52 -0400 Subject: [PATCH 04/18] Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.8.0 to 3.10.0 (#12529) Bumps [org.apache.maven.plugins:maven-javadoc-plugin](https://github.com/apache/maven-javadoc-plugin) from 3.8.0 to 3.10.0. - [Release notes](https://github.com/apache/maven-javadoc-plugin/releases) - [Commits](https://github.com/apache/maven-javadoc-plugin/compare/maven-javadoc-plugin-3.8.0...maven-javadoc-plugin-3.10.0) --- updated-dependencies: - dependency-name: org.apache.maven.plugins:maven-javadoc-plugin dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index afee6c4f2e..ebd2617ebc 100644 --- a/pom.xml +++ b/pom.xml @@ -152,7 +152,7 @@ org.apache.maven.plugins maven-javadoc-plugin - 3.8.0 + 3.10.0 ${basedir}/src/main/java; none From 60fa909aa7b4c7656ef331784b86bbaddf1a4c2d Mon Sep 17 00:00:00 2001 From: Melloware Date: Tue, 27 Aug 2024 16:02:19 -0400 Subject: [PATCH 05/18] Fix #12429: jQuery UI 1.14.0 (#12433) * Fix #12429: jQuery UI 1.14.0 * Update 0-jquery.ui.datepicker.js * Dialog replace transfer effect with transfer method * Update jquery.ui.js --- docs/15_0_0/core/thirdpartylibs.md | 2 +- .../calendar/0-jquery.ui.datepicker.js | 55 +- .../resources/primefaces/dialog/dialog.js | 14 +- .../resources/primefaces/jquery/jquery.ui.js | 475 +++++++----------- 4 files changed, 207 insertions(+), 339 deletions(-) diff --git a/docs/15_0_0/core/thirdpartylibs.md b/docs/15_0_0/core/thirdpartylibs.md index 67d7391d66..bcae77885f 100644 --- a/docs/15_0_0/core/thirdpartylibs.md +++ b/docs/15_0_0/core/thirdpartylibs.md @@ -25,7 +25,7 @@ are many other third party libraries and plugins used to support features. | [jQuery Rangy](../jsdocs/modules/src_PrimeFaces.JQueryRangy.html) | 1.2.0 | https://github.com/timdown/rangyinputs | | [jQuery Timepicker Addon](../jsdocs/interfaces/src_PrimeFaces.JQuery-1.html#timepicker) | 1.6.3 | http://trentrichardson.com/examples/timepicker | | [jQuery UI Touch Punch](../jsdocs/interfaces/src_PrimeFaces.JQuery-1.html#touchpunch) | 1.1.5 | https://github.com/RWAP/jquery-ui-touch-punch | -| [jQuery UI](../jsdocs/modules/node_modules__types_jqueryui.html) | 1.13.3 | https://github.com/jquery/jquery-ui | +| [jQuery UI](../jsdocs/modules/node_modules__types_jqueryui.html) | 1.14.0 | https://github.com/jquery/jquery-ui | | [jQuery](../jsdocs/interfaces/src_PrimeFaces.JQuery-1.html) | 4.0.0 | https://jquery.com/ | | [jScrollPane](../jsdocs/interfaces/src_PrimeFaces.JQuery-1.html#jScrollPane) | 2.2.3 | https://github.com/vitch/jScrollPane | | [JSPlumb Diagram](../jsdocs/modules/node_modules_jsplumb.export_.html) | 2.15.6 | https://github.com/jsplumb/jsplumb | diff --git a/primefaces/src/main/resources/META-INF/resources/primefaces/calendar/0-jquery.ui.datepicker.js b/primefaces/src/main/resources/META-INF/resources/primefaces/calendar/0-jquery.ui.datepicker.js index 050b2ef597..19c9815860 100644 --- a/primefaces/src/main/resources/META-INF/resources/primefaces/calendar/0-jquery.ui.datepicker.js +++ b/primefaces/src/main/resources/META-INF/resources/primefaces/calendar/0-jquery.ui.datepicker.js @@ -1,11 +1,11 @@ -/*! jQuery UI - v1.13.2 - 2022-08-09 -* http://jqueryui.com +/* jQuery UI - v1.14.0 - 2024-08-08 +* https://jqueryui.com * Includes: keycode.js, widgets/datepicker.js -* Copyright jQuery Foundation and other contributors; Licensed MIT */ +* Copyright OpenJS Foundation and other contributors; Licensed MIT */ ( function( factory ) { "use strict"; - + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -20,22 +20,22 @@ $.ui = $.ui || {}; -var version = $.ui.version = "1.13.2"; +var version = $.ui.version = "1.14.0"; -/*! - * jQuery UI Keycode 1.13.2 - * http://jqueryui.com +/* + * jQuery UI Keycode 1.14.0 + * https://jqueryui.com * - * Copyright jQuery Foundation and other contributors + * Copyright OpenJS Foundation and other contributors * Released under the MIT license. - * http://jquery.org/license + * https://jquery.org/license */ //>>label: Keycode //>>group: Core //>>description: Provide keycodes as keynames -//>>docs: http://api.jqueryui.com/jQuery.ui.keyCode/ +//>>docs: https://api.jqueryui.com/jQuery.ui.keyCode/ var keycode = $.ui.keyCode = { @@ -59,26 +59,26 @@ var keycode = $.ui.keyCode = { /* eslint-disable max-len, camelcase */ -/*! - * jQuery UI Datepicker 1.13.2 - * http://jqueryui.com +/* + * jQuery UI Datepicker 1.14.0 + * https://jqueryui.com * - * Copyright jQuery Foundation and other contributors + * Copyright OpenJS Foundation and other contributors * Released under the MIT license. - * http://jquery.org/license + * https://jquery.org/license */ //>>label: Datepicker //>>group: Widgets //>>description: Displays a calendar from an input or inline for selecting dates. -//>>docs: http://api.jqueryui.com/datepicker/ -//>>demos: http://jqueryui.com/datepicker/ +//>>docs: https://api.jqueryui.com/datepicker/ +//>>demos: https://jqueryui.com/datepicker/ //>>css.structure: ../../themes/base/core.css //>>css.structure: ../../themes/base/datepicker.css //>>css.theme: ../../themes/base/theme.css -$.extend( $.ui, { datepicker: { version: "1.13.2" } } ); +$.extend( $.ui, { datepicker: { version: "1.14.0" } } ); var datepicker_instActive; @@ -155,7 +155,7 @@ function Datepicker() { showOptions: {}, // Options for enhanced animations defaultDate: null, // Used when field is blank: actual date, // +/-number for offset from today, null for today - appendText: "", // Display text following the input box, e.g., showing the format + appendText: "", // Display text following the input box, e.g. showing the format buttonText: "...", // Text for trigger button buttonImage: "", // URL for trigger button image buttonImageOnly: false, // True if the image appears alone, false if it appears on a button @@ -181,7 +181,7 @@ function Datepicker() { duration: "fast", // Duration of display/closure beforeShowDay: null, // Function that takes a date and returns an array with // [0] = true if selectable, false if not, [1] = custom CSS class name(s) or "", - // [2] = cell title (optional), e.g., $.datepicker.noWeekends + // [2] = cell title (optional), e.g. $.datepicker.noWeekends beforeShow: null, // Function that takes an input field and // returns a set of custom settings for the date picker onSelect: null, // Define a callback function when a date is selected @@ -395,7 +395,7 @@ $.extend( Datepicker.prototype, { } // Set display:block in place of inst.dpDiv.show() which won't work on disconnected elements - // http://bugs.jqueryui.com/ticket/7552 - A Datepicker created on a detached div has zero height + // https://bugs.jqueryui.com/ticket/7552 - A Datepicker created on a detached div has zero height inst.dpDiv.css( "display", "block" ); }, @@ -477,6 +477,7 @@ $.extend( Datepicker.prototype, { $target.removeClass( this.markerClassName ).empty(); } + $.datepicker._hideDatepicker(); if ( datepicker_instActive === inst ) { datepicker_instActive = null; this._curInst = null; @@ -952,9 +953,6 @@ $.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" ); }, @@ -1013,8 +1011,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" : @@ -2275,11 +2272,11 @@ $.fn.datepicker = function( options ) { $.datepicker = new Datepicker(); // singleton instance $.datepicker.initialized = false; $.datepicker.uuid = new Date().getTime(); -$.datepicker.version = "1.13.2"; +$.datepicker.version = "1.14.0"; var widgetsDatepicker = $.datepicker; -} ); \ No newline at end of file +} ); diff --git a/primefaces/src/main/resources/META-INF/resources/primefaces/dialog/dialog.js b/primefaces/src/main/resources/META-INF/resources/primefaces/dialog/dialog.js index e35d7957fc..56cf97cd4b 100644 --- a/primefaces/src/main/resources/META-INF/resources/primefaces/dialog/dialog.js +++ b/primefaces/src/main/resources/META-INF/resources/primefaces/dialog/dialog.js @@ -716,13 +716,13 @@ PrimeFaces.widget.Dialog = PrimeFaces.widget.DynamicOverlayWidget.extend({ } if(animate) { - this.jq.effect('transfer', { - to: dockingZone - ,className: 'ui-dialog-minimizing' - }, 500, - function() { - $this.dock(dockingZone); - }); + this.jq.transfer({ + to: dockingZone, + className: 'ui-dialog-minimizing', + duration: 500 + }, function () { + $this.dock(dockingZone); + }); } else { this.dock(dockingZone); diff --git a/primefaces/src/main/resources/META-INF/resources/primefaces/jquery/jquery.ui.js b/primefaces/src/main/resources/META-INF/resources/primefaces/jquery/jquery.ui.js index edb9c4fe4b..d025a6c56c 100644 --- a/primefaces/src/main/resources/META-INF/resources/primefaces/jquery/jquery.ui.js +++ b/primefaces/src/main/resources/META-INF/resources/primefaces/jquery/jquery.ui.js @@ -1,11 +1,11 @@ -/* jQuery UI - v1.13.3 - 2024-04-26 +/* jQuery UI - v1.14.0 - 2024-08-08 * https://jqueryui.com * Includes: widget.js, position.js, data.js, disable-selection.js, focusable.js, form-reset-mixin.js, jquery-patch.js, keycode.js, labels.js, scroll-parent.js, tabbable.js, unique-id.js, widgets/draggable.js, widgets/droppable.js, widgets/resizable.js, widgets/selectable.js, widgets/sortable.js, widgets/mouse.js, widgets/slider.js, effect.js, effects/effect-blind.js, effects/effect-bounce.js, effects/effect-clip.js, effects/effect-drop.js, effects/effect-explode.js, effects/effect-fade.js, effects/effect-fold.js, effects/effect-highlight.js, effects/effect-puff.js, effects/effect-pulsate.js, effects/effect-scale.js, effects/effect-shake.js, effects/effect-size.js, effects/effect-slide.js, effects/effect-transfer.js * Copyright OpenJS Foundation and other contributors; Licensed MIT */ ( function( factory ) { "use strict"; - + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -19,12 +19,13 @@ "use strict"; $.ui = $.ui || {}; +$.uiBackCompat = true; -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 @@ -766,7 +767,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 @@ -1263,7 +1264,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 @@ -1278,21 +1279,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 @@ -1327,7 +1322,7 @@ var disableSelection = $.fn.extend( { /* - * jQuery UI Focusable 1.13.3 + * jQuery UI Focusable 1.14.0 * https://jqueryui.com * * Copyright OpenJS Foundation and other contributors @@ -1376,20 +1371,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 ); @@ -1399,17 +1384,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 @@ -1437,7 +1413,7 @@ var formResetMixin = $.ui.formResetMixin = { }, _bindFormResetHandler: function() { - this.form = this.element._form(); + this.form = $( this.element.prop( "form" ) ); if ( !this.form.length ) { return; } @@ -1471,7 +1447,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 @@ -1480,50 +1456,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 - - -// Support: jQuery 1.9.x or older -// $.expr[ ":" ] is deprecated. -if ( !$.expr.pseudos ) { - $.expr.pseudos = $.expr[ ":" ]; -} +//>>description: Backport `.even()`, `.odd()` and `$.escapeSelector` to older jQuery Core versions (deprecated) -// 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 + "" ); }; } @@ -1546,7 +1489,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 @@ -1581,7 +1524,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 @@ -1607,9 +1550,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 @@ -1624,7 +1566,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 ) ); @@ -1636,7 +1578,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 @@ -1670,7 +1612,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 @@ -1694,7 +1636,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 @@ -1731,12 +1673,8 @@ var uniqueId = $.fn.extend( { } ); - -// 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 @@ -1756,7 +1694,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, @@ -1808,12 +1746,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; } @@ -1859,28 +1795,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 ); - } } } @@ -1986,49 +1911,8 @@ var plugin = $.ui.plugin = { }; - -var safeActiveElement = $.ui.safeActiveElement = function( document ) { - var activeElement; - - // Support: IE 9 only - // IE9 throws an "Unspecified error" accessing document.activeElement from an