<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[51794] trunk/src: External Libraries: Update jQuery UI to 1.13.0-rc2.</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { white-space: pre-line; overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta" style="font-size: 105%">
<dt style="float: left; width: 6em; font-weight: bold">Revision</dt> <dd><a style="font-weight: bold" href="https://core.trac.wordpress.org/changeset/51794">51794</a><script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","description":"Review this Commit","action":{"@type":"ViewAction","url":"https://core.trac.wordpress.org/changeset/51794","name":"Review Commit"}}</script></dd>
<dt style="float: left; width: 6em; font-weight: bold">Author</dt> <dd>azaozz</dd>
<dt style="float: left; width: 6em; font-weight: bold">Date</dt> <dd>2021-09-10 00:01:24 +0000 (Fri, 10 Sep 2021)</dd>
</dl>
<pre style='padding-left: 1em; margin: 2em 0; border-left: 2px solid #ccc; line-height: 1.25; font-size: 105%; font-family: sans-serif'>External Libraries: Update jQuery UI to 1.13.0-rc2.
The final release is expected at the beginning of October. Updating to rc2 now gives everybody plenty of time to test and report any issues either with UI 1.13.0 or with the WordPress implementation.
Props Clorith, mgol, azaozz.
See <a href="https://core.trac.wordpress.org/ticket/52163">#52163</a>.</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunksrcjs_enqueuesvendorjqueryuiaccordionjs">trunk/src/js/_enqueues/vendor/jquery/ui/accordion.js</a></li>
<li><a href="#trunksrcjs_enqueuesvendorjqueryuiautocompletejs">trunk/src/js/_enqueues/vendor/jquery/ui/autocomplete.js</a></li>
<li><a href="#trunksrcjs_enqueuesvendorjqueryuibuttonjs">trunk/src/js/_enqueues/vendor/jquery/ui/button.js</a></li>
<li><a href="#trunksrcjs_enqueuesvendorjqueryuicheckboxradiojs">trunk/src/js/_enqueues/vendor/jquery/ui/checkboxradio.js</a></li>
<li><a href="#trunksrcjs_enqueuesvendorjqueryuicontrolgroupjs">trunk/src/js/_enqueues/vendor/jquery/ui/controlgroup.js</a></li>
<li><a href="#trunksrcjs_enqueuesvendorjqueryuicorejs">trunk/src/js/_enqueues/vendor/jquery/ui/core.js</a></li>
<li><a href="#trunksrcjs_enqueuesvendorjqueryuidatepickerjs">trunk/src/js/_enqueues/vendor/jquery/ui/datepicker.js</a></li>
<li><a href="#trunksrcjs_enqueuesvendorjqueryuidialogjs">trunk/src/js/_enqueues/vendor/jquery/ui/dialog.js</a></li>
<li><a href="#trunksrcjs_enqueuesvendorjqueryuidraggablejs">trunk/src/js/_enqueues/vendor/jquery/ui/draggable.js</a></li>
<li><a href="#trunksrcjs_enqueuesvendorjqueryuidroppablejs">trunk/src/js/_enqueues/vendor/jquery/ui/droppable.js</a></li>
<li><a href="#trunksrcjs_enqueuesvendorjqueryuieffectblindjs">trunk/src/js/_enqueues/vendor/jquery/ui/effect-blind.js</a></li>
<li><a href="#trunksrcjs_enqueuesvendorjqueryuieffectbouncejs">trunk/src/js/_enqueues/vendor/jquery/ui/effect-bounce.js</a></li>
<li><a href="#trunksrcjs_enqueuesvendorjqueryuieffectclipjs">trunk/src/js/_enqueues/vendor/jquery/ui/effect-clip.js</a></li>
<li><a href="#trunksrcjs_enqueuesvendorjqueryuieffectdropjs">trunk/src/js/_enqueues/vendor/jquery/ui/effect-drop.js</a></li>
<li><a href="#trunksrcjs_enqueuesvendorjqueryuieffectexplodejs">trunk/src/js/_enqueues/vendor/jquery/ui/effect-explode.js</a></li>
<li><a href="#trunksrcjs_enqueuesvendorjqueryuieffectfadejs">trunk/src/js/_enqueues/vendor/jquery/ui/effect-fade.js</a></li>
<li><a href="#trunksrcjs_enqueuesvendorjqueryuieffectfoldjs">trunk/src/js/_enqueues/vendor/jquery/ui/effect-fold.js</a></li>
<li><a href="#trunksrcjs_enqueuesvendorjqueryuieffecthighlightjs">trunk/src/js/_enqueues/vendor/jquery/ui/effect-highlight.js</a></li>
<li><a href="#trunksrcjs_enqueuesvendorjqueryuieffectpuffjs">trunk/src/js/_enqueues/vendor/jquery/ui/effect-puff.js</a></li>
<li><a href="#trunksrcjs_enqueuesvendorjqueryuieffectpulsatejs">trunk/src/js/_enqueues/vendor/jquery/ui/effect-pulsate.js</a></li>
<li><a href="#trunksrcjs_enqueuesvendorjqueryuieffectscalejs">trunk/src/js/_enqueues/vendor/jquery/ui/effect-scale.js</a></li>
<li><a href="#trunksrcjs_enqueuesvendorjqueryuieffectshakejs">trunk/src/js/_enqueues/vendor/jquery/ui/effect-shake.js</a></li>
<li><a href="#trunksrcjs_enqueuesvendorjqueryuieffectsizejs">trunk/src/js/_enqueues/vendor/jquery/ui/effect-size.js</a></li>
<li><a href="#trunksrcjs_enqueuesvendorjqueryuieffectslidejs">trunk/src/js/_enqueues/vendor/jquery/ui/effect-slide.js</a></li>
<li><a href="#trunksrcjs_enqueuesvendorjqueryuieffecttransferjs">trunk/src/js/_enqueues/vendor/jquery/ui/effect-transfer.js</a></li>
<li><a href="#trunksrcjs_enqueuesvendorjqueryuieffectjs">trunk/src/js/_enqueues/vendor/jquery/ui/effect.js</a></li>
<li><a href="#trunksrcjs_enqueuesvendorjqueryuimenujs">trunk/src/js/_enqueues/vendor/jquery/ui/menu.js</a></li>
<li><a href="#trunksrcjs_enqueuesvendorjqueryuimousejs">trunk/src/js/_enqueues/vendor/jquery/ui/mouse.js</a></li>
<li><a href="#trunksrcjs_enqueuesvendorjqueryuiprogressbarjs">trunk/src/js/_enqueues/vendor/jquery/ui/progressbar.js</a></li>
<li><a href="#trunksrcjs_enqueuesvendorjqueryuiresizablejs">trunk/src/js/_enqueues/vendor/jquery/ui/resizable.js</a></li>
<li><a href="#trunksrcjs_enqueuesvendorjqueryuiselectablejs">trunk/src/js/_enqueues/vendor/jquery/ui/selectable.js</a></li>
<li><a href="#trunksrcjs_enqueuesvendorjqueryuiselectmenujs">trunk/src/js/_enqueues/vendor/jquery/ui/selectmenu.js</a></li>
<li><a href="#trunksrcjs_enqueuesvendorjqueryuisliderjs">trunk/src/js/_enqueues/vendor/jquery/ui/slider.js</a></li>
<li><a href="#trunksrcjs_enqueuesvendorjqueryuisortablejs">trunk/src/js/_enqueues/vendor/jquery/ui/sortable.js</a></li>
<li><a href="#trunksrcjs_enqueuesvendorjqueryuispinnerjs">trunk/src/js/_enqueues/vendor/jquery/ui/spinner.js</a></li>
<li><a href="#trunksrcjs_enqueuesvendorjqueryuitabsjs">trunk/src/js/_enqueues/vendor/jquery/ui/tabs.js</a></li>
<li><a href="#trunksrcjs_enqueuesvendorjqueryuitooltipjs">trunk/src/js/_enqueues/vendor/jquery/ui/tooltip.js</a></li>
<li><a href="#trunksrcwpincludesscriptloaderphp">trunk/src/wp-includes/script-loader.php</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunksrcjs_enqueuesvendorjqueryuiaccordionjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/js/_enqueues/vendor/jquery/ui/accordion.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/vendor/jquery/ui/accordion.js 2021-09-09 22:55:36 UTC (rev 51793)
+++ trunk/src/js/_enqueues/vendor/jquery/ui/accordion.js 2021-09-10 00:01:24 UTC (rev 51794)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,5 +1,5 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /*!
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * jQuery UI Accordion 1.12.1
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * jQuery UI Accordion 1.13.0-rc.2
</ins><span class="cx" style="display: block; padding: 0 10px"> * http://jqueryui.com
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Copyright jQuery Foundation and other contributors
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -9,9 +9,9 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> //>>label: Accordion
</span><span class="cx" style="display: block; padding: 0 10px"> //>>group: Widgets
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-// jscs:disable maximumLineLength
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/* eslint-disable max-len */
</ins><span class="cx" style="display: block; padding: 0 10px"> //>>description: Displays collapsible content panels for presenting information in a limited amount of space.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-// jscs:enable maximumLineLength
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/* eslint-enable max-len */
</ins><span class="cx" style="display: block; padding: 0 10px"> //>>docs: http://api.jqueryui.com/accordion/
</span><span class="cx" style="display: block; padding: 0 10px"> //>>demos: http://jqueryui.com/accordion/
</span><span class="cx" style="display: block; padding: 0 10px"> //>>css.structure: ../../themes/base/core.css
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -19,6 +19,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> //>>css.theme: ../../themes/base/theme.css
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> ( function( factory ) {
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "use strict";
+
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( typeof define === "function" && define.amd ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // AMD. Register as an anonymous module.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -31,10 +33,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // Browser globals
</span><span class="cx" style="display: block; padding: 0 10px"> factory( jQuery );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-}( function( $ ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+} )( function( $ ) {
+"use strict";
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> return $.widget( "ui.accordion", {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- version: "1.12.1",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ version: "1.13.0-rc.2",
</ins><span class="cx" style="display: block; padding: 0 10px"> options: {
</span><span class="cx" style="display: block; padding: 0 10px"> active: 0,
</span><span class="cx" style="display: block; padding: 0 10px"> animate: {},
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -45,7 +48,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> collapsible: false,
</span><span class="cx" style="display: block; padding: 0 10px"> event: "click",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- header: "> li > :first-child, > :not(li):even",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ header: function( elem ) {
+ return elem.find( "> li > :first-child" ).add( elem.find( "> :not(li)" ).even() );
+ },
</ins><span class="cx" style="display: block; padding: 0 10px"> heightStyle: "auto",
</span><span class="cx" style="display: block; padding: 0 10px"> icons: {
</span><span class="cx" style="display: block; padding: 0 10px"> activeHeader: "ui-icon-triangle-1-s",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -276,7 +281,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> var prevHeaders = this.headers,
</span><span class="cx" style="display: block; padding: 0 10px"> prevPanels = this.panels;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- this.headers = this.element.find( this.options.header );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( typeof this.options.header === "function" ) {
+ this.headers = this.options.header( this.element );
+ } else {
+ this.headers = this.element.find( this.options.header );
+ }
</ins><span class="cx" style="display: block; padding: 0 10px"> this._addClass( this.headers, "ui-accordion-header ui-accordion-header-collapsed",
</span><span class="cx" style="display: block; padding: 0 10px"> "ui-state-default" );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -607,4 +616,4 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> } );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-} ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+} );
</ins></span></pre></div>
<a id="trunksrcjs_enqueuesvendorjqueryuiautocompletejs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/js/_enqueues/vendor/jquery/ui/autocomplete.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/vendor/jquery/ui/autocomplete.js 2021-09-09 22:55:36 UTC (rev 51793)
+++ trunk/src/js/_enqueues/vendor/jquery/ui/autocomplete.js 2021-09-10 00:01:24 UTC (rev 51794)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,5 +1,5 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /*!
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * jQuery UI Autocomplete 1.12.1
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * jQuery UI Autocomplete 1.13.0-rc.2
</ins><span class="cx" style="display: block; padding: 0 10px"> * http://jqueryui.com
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Copyright jQuery Foundation and other contributors
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -17,6 +17,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> //>>css.theme: ../../themes/base/theme.css
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> ( function( factory ) {
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "use strict";
+
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( typeof define === "function" && define.amd ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // AMD. Register as an anonymous module.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -30,10 +32,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // Browser globals
</span><span class="cx" style="display: block; padding: 0 10px"> factory( jQuery );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-}( function( $ ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+} )( function( $ ) {
+"use strict";
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> $.widget( "ui.autocomplete", {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- version: "1.12.1",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ version: "1.13.0-rc.2",
</ins><span class="cx" style="display: block; padding: 0 10px"> defaultElement: "<input>",
</span><span class="cx" style="display: block; padding: 0 10px"> options: {
</span><span class="cx" style="display: block; padding: 0 10px"> appendTo: null,
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -196,11 +199,6 @@
</span><span class="cx" style="display: block; padding: 0 10px"> this.previous = this._value();
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> blur: function( event ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- if ( this.cancelBlur ) {
- delete this.cancelBlur;
- return;
- }
-
</del><span class="cx" style="display: block; padding: 0 10px"> clearTimeout( this.searching );
</span><span class="cx" style="display: block; padding: 0 10px"> this.close( event );
</span><span class="cx" style="display: block; padding: 0 10px"> this._change( event );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -216,6 +214,16 @@
</span><span class="cx" style="display: block; padding: 0 10px"> role: null
</span><span class="cx" style="display: block; padding: 0 10px"> } )
</span><span class="cx" style="display: block; padding: 0 10px"> .hide()
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
+ // 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"
+ } )
</ins><span class="cx" style="display: block; padding: 0 10px"> .menu( "instance" );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> this._addClass( this.menu.element, "ui-autocomplete", "ui-front" );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -222,25 +230,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> this._on( this.menu.element, {
</span><span class="cx" style="display: block; padding: 0 10px"> mousedown: function( event ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // prevent moving focus out of the text field
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // Prevent moving focus out of the text field
</ins><span class="cx" style="display: block; padding: 0 10px"> event.preventDefault();
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-
- // IE doesn't prevent moving focus even with event.preventDefault()
- // so we set a flag to know when we should ignore the blur event
- this.cancelBlur = true;
- this._delay( function() {
- delete this.cancelBlur;
-
- // Support: IE 8 only
- // Right clicking a menu item or selecting text from the menu items will
- // result in focus moving out of the input. However, we've already received
- // and ignored the blur event because of the cancelBlur flag set above. So
- // we restore focus to ensure that the menu closes properly based on the user's
- // next actions.
- if ( this.element[ 0 ] !== $.ui.safeActiveElement( this.document[ 0 ] ) ) {
- this.element.trigger( "focus" );
- }
- } );
</del><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> menufocus: function( event, ui ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var label, item;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -271,7 +262,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // Announce the value in the liveRegion
</span><span class="cx" style="display: block; padding: 0 10px"> label = ui.item.attr( "aria-label" ) || item.value;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- if ( label && $.trim( label ).length ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( label && String.prototype.trim.call( label ).length ) {
</ins><span class="cx" style="display: block; padding: 0 10px"> this.liveRegion.children().hide();
</span><span class="cx" style="display: block; padding: 0 10px"> $( "<div>" ).text( label ).appendTo( this.liveRegion );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -383,7 +374,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> _initSource: function() {
</span><span class="cx" style="display: block; padding: 0 10px"> var array, url,
</span><span class="cx" style="display: block; padding: 0 10px"> that = this;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- if ( $.isArray( this.options.source ) ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( Array.isArray( this.options.source ) ) {
</ins><span class="cx" style="display: block; padding: 0 10px"> array = this.options.source;
</span><span class="cx" style="display: block; padding: 0 10px"> this.source = function( request, response ) {
</span><span class="cx" style="display: block; padding: 0 10px"> response( $.ui.autocomplete.filter( array, request.term ) );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -455,7 +446,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> _response: function() {
</span><span class="cx" style="display: block; padding: 0 10px"> var index = ++this.requestIndex;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- return $.proxy( function( content ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ return function( content ) {
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( index === this.requestIndex ) {
</span><span class="cx" style="display: block; padding: 0 10px"> this.__response( content );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -464,7 +455,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> if ( !this.pending ) {
</span><span class="cx" style="display: block; padding: 0 10px"> this._removeClass( "ui-autocomplete-loading" );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- }, this );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ }.bind( this );
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> __response: function( content ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -624,7 +615,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> var editable = element.prop( "contentEditable" );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( editable === "inherit" ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- return this._isContentEditable( element.parent() );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ return this._isContentEditable( element.parent() );
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> return editable === "true";
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -675,4 +666,4 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> return $.ui.autocomplete;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-} ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+} );
</ins></span></pre></div>
<a id="trunksrcjs_enqueuesvendorjqueryuibuttonjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/js/_enqueues/vendor/jquery/ui/button.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/vendor/jquery/ui/button.js 2021-09-09 22:55:36 UTC (rev 51793)
+++ trunk/src/js/_enqueues/vendor/jquery/ui/button.js 2021-09-10 00:01:24 UTC (rev 51794)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,5 +1,5 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /*!
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * jQuery UI Button 1.12.1
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * jQuery UI Button 1.13.0-rc.2
</ins><span class="cx" style="display: block; padding: 0 10px"> * http://jqueryui.com
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Copyright jQuery Foundation and other contributors
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -17,6 +17,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> //>>css.theme: ../../themes/base/theme.css
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> ( function( factory ) {
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "use strict";
+
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( typeof define === "function" && define.amd ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // AMD. Register as an anonymous module.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -35,10 +37,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // Browser globals
</span><span class="cx" style="display: block; padding: 0 10px"> factory( jQuery );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-}( function( $ ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+} )( function( $ ) {
+"use strict";
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> $.widget( "ui.button", {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- version: "1.12.1",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ version: "1.13.0-rc.2",
</ins><span class="cx" style="display: block; padding: 0 10px"> defaultElement: "<button>",
</span><span class="cx" style="display: block; padding: 0 10px"> options: {
</span><span class="cx" style="display: block; padding: 0 10px"> classes: {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -262,7 +265,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> this._toggleClass( null, "ui-state-disabled", value );
</span><span class="cx" style="display: block; padding: 0 10px"> this.element[ 0 ].disabled = value;
</span><span class="cx" style="display: block; padding: 0 10px"> if ( value ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- this.element.blur();
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ this.element.trigger( "blur" );
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -341,22 +344,82 @@
</span><span class="cx" style="display: block; padding: 0 10px"> } );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> $.fn.button = ( function( orig ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- return function() {
- if ( !this.length || ( this.length && this[ 0 ].tagName !== "INPUT" ) ||
- ( this.length && this[ 0 ].tagName === "INPUT" && (
- this.attr( "type" ) !== "checkbox" && this.attr( "type" ) !== "radio"
- ) ) ) {
- return orig.apply( this, arguments );
- }
- if ( !$.ui.checkboxradio ) {
- $.error( "Checkboxradio widget missing" );
- }
- if ( arguments.length === 0 ) {
- return this.checkboxradio( {
- "icon": false
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ return function( options ) {
+ var isMethodCall = typeof options === "string";
+ var args = Array.prototype.slice.call( arguments, 1 );
+ var returnValue = this;
+
+ if ( isMethodCall ) {
+
+ // If this is an empty collection, we need to have the instance method
+ // return undefined instead of the jQuery instance
+ if ( !this.length && options === "instance" ) {
+ returnValue = undefined;
+ } else {
+ this.each( function() {
+ var methodValue;
+ var type = $( this ).attr( "type" );
+ var name = type !== "checkbox" && type !== "radio" ?
+ "button" :
+ "checkboxradio";
+ var instance = $.data( this, "ui-" + name );
+
+ if ( options === "instance" ) {
+ returnValue = instance;
+ return false;
+ }
+
+ if ( !instance ) {
+ return $.error( "cannot call methods on button" +
+ " prior to initialization; " +
+ "attempted to call method '" + options + "'" );
+ }
+
+ if ( typeof instance[ options ] !== "function" ||
+ options.charAt( 0 ) === "_" ) {
+ return $.error( "no such method '" + options + "' for button" +
+ " widget instance" );
+ }
+
+ methodValue = instance[ options ].apply( instance, args );
+
+ if ( methodValue !== instance && methodValue !== undefined ) {
+ returnValue = methodValue && methodValue.jquery ?
+ returnValue.pushStack( methodValue.get() ) :
+ methodValue;
+ return false;
+ }
+ } );
+ }
+ } else {
+
+ // Allow multiple hashes to be passed on init
+ if ( args.length ) {
+ options = $.widget.extend.apply( null, [ options ].concat( args ) );
+ }
+
+ this.each( function() {
+ var type = $( this ).attr( "type" );
+ var name = type !== "checkbox" && type !== "radio" ? "button" : "checkboxradio";
+ var instance = $.data( this, "ui-" + name );
+
+ if ( instance ) {
+ instance.option( options || {} );
+ if ( instance._init ) {
+ instance._init();
+ }
+ } else {
+ if ( name === "button" ) {
+ orig.call( $( this ), options );
+ return;
+ }
+
+ $( this ).checkboxradio( $.extend( { icon: false }, options ) );
+ }
</ins><span class="cx" style="display: block; padding: 0 10px"> } );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- return this.checkboxradio.apply( this, arguments );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
+ return returnValue;
</ins><span class="cx" style="display: block; padding: 0 10px"> };
</span><span class="cx" style="display: block; padding: 0 10px"> } )( $.fn.button );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -382,4 +445,4 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> return $.ui.button;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-} ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+} );
</ins></span></pre></div>
<a id="trunksrcjs_enqueuesvendorjqueryuicheckboxradiojs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/js/_enqueues/vendor/jquery/ui/checkboxradio.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/vendor/jquery/ui/checkboxradio.js 2021-09-09 22:55:36 UTC (rev 51793)
+++ trunk/src/js/_enqueues/vendor/jquery/ui/checkboxradio.js 2021-09-10 00:01:24 UTC (rev 51794)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,5 +1,5 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /*!
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * jQuery UI Checkboxradio 1.12.1
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * jQuery UI Checkboxradio 1.13.0-rc.2
</ins><span class="cx" style="display: block; padding: 0 10px"> * http://jqueryui.com
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Copyright jQuery Foundation and other contributors
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -18,6 +18,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> //>>css.theme: ../../themes/base/theme.css
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> ( function( factory ) {
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "use strict";
+
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( typeof define === "function" && define.amd ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // AMD. Register as an anonymous module.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -30,10 +32,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // Browser globals
</span><span class="cx" style="display: block; padding: 0 10px"> factory( jQuery );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-}( function( $ ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+} )( function( $ ) {
+"use strict";
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> $.widget( "ui.checkboxradio", [ $.ui.formResetMixin, {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- version: "1.12.1",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ version: "1.13.0-rc.2",
</ins><span class="cx" style="display: block; padding: 0 10px"> options: {
</span><span class="cx" style="display: block; padding: 0 10px"> disabled: null,
</span><span class="cx" style="display: block; padding: 0 10px"> label: null,
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -112,9 +115,6 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( checked ) {
</span><span class="cx" style="display: block; padding: 0 10px"> this._addClass( this.label, "ui-checkboxradio-checked", "ui-state-active" );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- if ( this.icon ) {
- this._addClass( this.icon, null, "ui-state-hover" );
- }
</del><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> this._on( {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -149,7 +149,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> _getRadioGroup: function() {
</span><span class="cx" style="display: block; padding: 0 10px"> var group;
</span><span class="cx" style="display: block; padding: 0 10px"> var name = this.element[ 0 ].name;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- var nameSelector = "input[name='" + $.ui.escapeSelector( name ) + "']";
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ var nameSelector = "input[name='" + $.escapeSelector( name ) + "']";
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( !name ) {
</span><span class="cx" style="display: block; padding: 0 10px"> return $( [] );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -161,7 +161,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // Not inside a form, check all inputs that also are not inside a form
</span><span class="cx" style="display: block; padding: 0 10px"> group = $( nameSelector ).filter( function() {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- return $( this ).form().length === 0;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ return $( this )._form().length === 0;
</ins><span class="cx" style="display: block; padding: 0 10px"> } );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -280,4 +280,4 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> return $.ui.checkboxradio;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-} ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+} );
</ins></span></pre></div>
<a id="trunksrcjs_enqueuesvendorjqueryuicontrolgroupjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/js/_enqueues/vendor/jquery/ui/controlgroup.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/vendor/jquery/ui/controlgroup.js 2021-09-09 22:55:36 UTC (rev 51793)
+++ trunk/src/js/_enqueues/vendor/jquery/ui/controlgroup.js 2021-09-10 00:01:24 UTC (rev 51794)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,5 +1,5 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /*!
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * jQuery UI Controlgroup 1.12.1
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * jQuery UI Controlgroup 1.13.0-rc.2
</ins><span class="cx" style="display: block; padding: 0 10px"> * http://jqueryui.com
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Copyright jQuery Foundation and other contributors
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -17,6 +17,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> //>>css.theme: ../../themes/base/theme.css
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> ( function( factory ) {
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "use strict";
+
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( typeof define === "function" && define.amd ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // AMD. Register as an anonymous module.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -29,11 +31,13 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // Browser globals
</span><span class="cx" style="display: block; padding: 0 10px"> factory( jQuery );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-}( function( $ ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+} )( function( $ ) {
+"use strict";
+
</ins><span class="cx" style="display: block; padding: 0 10px"> var controlgroupCornerRegex = /ui-corner-([a-z]){2,6}/g;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> return $.widget( "ui.controlgroup", {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- version: "1.12.1",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ version: "1.13.0-rc.2",
</ins><span class="cx" style="display: block; padding: 0 10px"> defaultElement: "<div>",
</span><span class="cx" style="display: block; padding: 0 10px"> options: {
</span><span class="cx" style="display: block; padding: 0 10px"> direction: "horizontal",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -150,7 +154,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> } );
</span><span class="cx" style="display: block; padding: 0 10px"> } );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- this.childWidgets = $( $.unique( childWidgets ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ this.childWidgets = $( $.uniqueSort( childWidgets ) );
</ins><span class="cx" style="display: block; padding: 0 10px"> this._addClass( this.childWidgets, "ui-controlgroup-item" );
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -234,7 +238,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> var result = {};
</span><span class="cx" style="display: block; padding: 0 10px"> $.each( classes, function( key ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var current = instance.options.classes[ key ] || "";
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- current = $.trim( current.replace( controlgroupCornerRegex, "" ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ current = String.prototype.trim.call( current.replace( controlgroupCornerRegex, "" ) );
</ins><span class="cx" style="display: block; padding: 0 10px"> result[ key ] = ( current + " " + classes[ key ] ).replace( /\s+/g, " " );
</span><span class="cx" style="display: block; padding: 0 10px"> } );
</span><span class="cx" style="display: block; padding: 0 10px"> return result;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -295,4 +299,4 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> } );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-} ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+} );
</ins></span></pre></div>
<a id="trunksrcjs_enqueuesvendorjqueryuicorejs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/js/_enqueues/vendor/jquery/ui/core.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/vendor/jquery/ui/core.js 2021-09-09 22:55:36 UTC (rev 51793)
+++ trunk/src/js/_enqueues/vendor/jquery/ui/core.js 2021-09-10 00:01:24 UTC (rev 51794)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,8 +1,10 @@
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-/*! jQuery UI - v1.12.1 - 2020-09-25
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/*! jQuery UI - v1.13.0-rc.2 - 2021-09-05
</ins><span class="cx" style="display: block; padding: 0 10px"> * http://jqueryui.com
</span><span class="cx" style="display: block; padding: 0 10px"> * Includes: data.js, disable-selection.js, escape-selector.js, focusable.js, form-reset-mixin.js, form.js, ie.js, jquery-1-7.js, keycode.js, labels.js, plugin.js, position.js, safe-active-element.js, safe-blur.js, scroll-parent.js, tabbable.js, unique-id.js, version.js, widget.js
</span><span class="cx" style="display: block; padding: 0 10px"> * Copyright jQuery Foundation and other contributors; Licensed */
</span><span class="cx" style="display: block; padding: 0 10px"> ( function( factory ) {
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "use strict";
+
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( typeof define === "function" && define.amd ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // AMD. Register as an anonymous module.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -13,15 +15,16 @@
</span><span class="cx" style="display: block; padding: 0 10px"> factory( jQuery );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> } ( function( $ ) {
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+"use strict";
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // Source: version.js
</span><span class="cx" style="display: block; padding: 0 10px"> $.ui = $.ui || {};
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-$.ui.version = "1.12.1";
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+$.ui.version = "1.13.0-rc.2";
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // Source: data.js
</span><span class="cx" style="display: block; padding: 0 10px"> /*!
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * jQuery UI :data 1.12.1
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * jQuery UI :data 1.13.0-rc.2
</ins><span class="cx" style="display: block; padding: 0 10px"> * http://jqueryui.com
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Copyright jQuery Foundation and other contributors
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -34,7 +37,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> //>>description: Selects elements which have data stored under the specified key.
</span><span class="cx" style="display: block; padding: 0 10px"> //>>docs: http://api.jqueryui.com/data-selector/
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-$.extend( $.expr[ ":" ], {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+$.extend( $.expr.pseudos, {
</ins><span class="cx" style="display: block; padding: 0 10px"> data: $.expr.createPseudo ?
</span><span class="cx" style="display: block; padding: 0 10px"> $.expr.createPseudo( function( dataName ) {
</span><span class="cx" style="display: block; padding: 0 10px"> return function( elem ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -48,10 +51,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> } );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-
</del><span class="cx" style="display: block; padding: 0 10px"> // Source: disable-selection.js
</span><span class="cx" style="display: block; padding: 0 10px"> /*!
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * jQuery UI Disable Selection 1.12.1
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * jQuery UI Disable Selection 1.13.0-rc.2
</ins><span class="cx" style="display: block; padding: 0 10px"> * http://jqueryui.com
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Copyright jQuery Foundation and other contributors
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -83,18 +85,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> } );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-// Source: escape-selector.js
-// Internal use only
-$.ui.escapeSelector = ( function() {
- var selectorEscape = /([!"#$%&'()*+,./:;<=>?@[\]^`{|}~])/g;
- return function( selector ) {
- return selector.replace( selectorEscape, "\\$1" );
- };
-} )();
-
</del><span class="cx" style="display: block; padding: 0 10px"> // Source: focusable.js
</span><span class="cx" style="display: block; padding: 0 10px"> /*!
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * jQuery UI Focusable 1.12.1
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * jQuery UI Focusable 1.13.0-rc.2
</ins><span class="cx" style="display: block; padding: 0 10px"> * http://jqueryui.com
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Copyright jQuery Foundation and other contributors
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -153,10 +146,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> element = element.parent();
</span><span class="cx" style="display: block; padding: 0 10px"> visibility = element.css( "visibility" );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- return visibility !== "hidden";
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ return visibility === "visible";
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-$.extend( $.expr[ ":" ], {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+$.extend( $.expr.pseudos, {
</ins><span class="cx" style="display: block; padding: 0 10px"> focusable: function( element ) {
</span><span class="cx" style="display: block; padding: 0 10px"> return $.ui.focusable( element, $.attr( element, "tabindex" ) != null );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -166,13 +159,13 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // Support: IE8 Only
</span><span class="cx" style="display: block; padding: 0 10px"> // IE8 does not support the form attribute and when it is supplied. It overwrites the form prop
</span><span class="cx" style="display: block; padding: 0 10px"> // with a string, so we need to find the proper form.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-$.fn.form = function() {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+$.fn._form = function() {
</ins><span class="cx" style="display: block; padding: 0 10px"> return typeof this[ 0 ].form === "string" ? this.closest( "form" ) : $( this[ 0 ].form );
</span><span class="cx" style="display: block; padding: 0 10px"> };
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // Source: form-reset-mixin.js
</span><span class="cx" style="display: block; padding: 0 10px"> /*!
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * jQuery UI Form Reset Mixin 1.12.1
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * jQuery UI Form Reset Mixin 1.13.0-rc.2
</ins><span class="cx" style="display: block; padding: 0 10px"> * http://jqueryui.com
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Copyright jQuery Foundation and other contributors
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -199,7 +192,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> _bindFormResetHandler: function() {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- this.form = this.element.form();
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ this.form = this.element._form();
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( !this.form.length ) {
</span><span class="cx" style="display: block; padding: 0 10px"> return;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -235,9 +228,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // This file is deprecated
</span><span class="cx" style="display: block; padding: 0 10px"> $.ui.ie = !!/msie [\w.]+/.exec( navigator.userAgent.toLowerCase() );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-// Source: jquery-1-7.js
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+// Source: jquery-patch.js
</ins><span class="cx" style="display: block; padding: 0 10px"> /*!
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * jQuery UI Support for jQuery core 1.7.x 1.12.1
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * jQuery UI Support for jQuery core 1.8.x and newer 1.13.0-rc.2
</ins><span class="cx" style="display: block; padding: 0 10px"> * http://jqueryui.com
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Copyright jQuery Foundation and other contributors
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -246,75 +239,72 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-//>>label: jQuery 1.7 Support
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+//>>label: jQuery 1.8+ Support
</ins><span class="cx" style="display: block; padding: 0 10px"> //>>group: Core
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-//>>description: Support version 1.7.x of jQuery core
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+//>>description: Support version 1.8.x and newer of jQuery core
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-// Support: jQuery 1.7 only
-// Not a great way to check versions, but since we only support 1.7+ and only
-// need to detect <1.8, this is a simple check that should suffice. Checking
-// for "1.7." would be a bit safer, but the version string is 1.7, not 1.7.0
-// and we'll never reach 1.70.0 (if we do, we certainly won't be supporting
-// 1.7 anymore). See #11197 for why we're not using feature detection.
-if ( $.fn.jquery.substring( 0, 3 ) === "1.7" ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+// Support: jQuery 1.9.x or older
+// $.expr[ ":" ] is deprecated.
+if ( !$.expr.pseudos ) {
+ $.expr.pseudos = $.expr[ ":" ];
+}
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // Setters for .innerWidth(), .innerHeight(), .outerWidth(), .outerHeight()
- // Unlike jQuery Core 1.8+, these only support numeric values to set the
- // dimensions in pixels
- $.each( [ "Width", "Height" ], function( i, name ) {
- var side = name === "Width" ? [ "Left", "Right" ] : [ "Top", "Bottom" ],
- type = name.toLowerCase(),
- orig = {
- innerWidth: $.fn.innerWidth,
- innerHeight: $.fn.innerHeight,
- outerWidth: $.fn.outerWidth,
- outerHeight: $.fn.outerHeight
- };
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+// Support: jQuery 1.11.x or older
+// $.unique has been renamed to $.uniqueSort
+if ( !$.uniqueSort ) {
+ $.uniqueSort = $.unique;
+}
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- function reduce( elem, size, border, margin ) {
- $.each( side, function() {
- size -= parseFloat( $.css( elem, "padding" + this ) ) || 0;
- if ( border ) {
- size -= parseFloat( $.css( elem, "border" + this + "Width" ) ) || 0;
- }
- if ( margin ) {
- size -= parseFloat( $.css( elem, "margin" + this ) ) || 0;
- }
- } );
- return size;
- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+// 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 ) {
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $.fn[ "inner" + name ] = function( size ) {
- if ( size === undefined ) {
- return orig[ "inner" + name ].call( this );
- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // CSS string/identifier serialization
+ // https://drafts.csswg.org/cssom/#common-serializing-idioms
+ var rcssescape = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- return this.each( function() {
- $( this ).css( type, reduce( this, size ) + "px" );
- } );
- };
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ var fcssescape = function( ch, asCodePoint ) {
+ if ( asCodePoint ) {
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $.fn[ "outer" + name ] = function( size, margin ) {
- if ( typeof size !== "number" ) {
- return orig[ "outer" + name ].call( this, size );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // U+0000 NULL becomes U+FFFD REPLACEMENT CHARACTER
+ if ( ch === "\0" ) {
+ return "\uFFFD";
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- return this.each( function() {
- $( this ).css( type, reduce( this, size, true, margin ) + "px" );
- } );
- };
- } );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // Control characters and (dependent upon position) numbers get escaped as code points
+ return ch.slice( 0, -1 ) + "\\" + ch.charCodeAt( ch.length - 1 ).toString( 16 ) + " ";
+ }
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $.fn.addBack = function( selector ) {
- return this.add( selector == null ?
- this.prevObject : this.prevObject.filter( selector )
- );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // Other potentially-special ASCII characters get backslash-escaped
+ return "\\" + ch;
</ins><span class="cx" style="display: block; padding: 0 10px"> };
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
+ $.escapeSelector = function( sel ) {
+ return ( sel + "" ).replace( rcssescape, fcssescape );
+ };
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+// Support: jQuery 3.4.x or older
+// These methods have been defined in jQuery 3.5.0.
+if ( !$.fn.even || !$.fn.odd ) {
+ $.fn.extend( {
+ even: function() {
+ return this.filter( function( i ) {
+ return i % 2 === 0;
+ } );
+ },
+ odd: function() {
+ return this.filter( function( i ) {
+ return i % 2 === 1;
+ } );
+ }
+ } );
+}
+
</ins><span class="cx" style="display: block; padding: 0 10px"> // Source: keycode.js
</span><span class="cx" style="display: block; padding: 0 10px"> /*!
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * jQuery UI Keycode 1.12.1
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * jQuery UI Keycode 1.13.0-rc.2
</ins><span class="cx" style="display: block; padding: 0 10px"> * http://jqueryui.com
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Copyright jQuery Foundation and other contributors
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -348,7 +338,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // Source: labels.js
</span><span class="cx" style="display: block; padding: 0 10px"> /*!
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * jQuery UI Labels 1.12.1
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * jQuery UI Labels 1.13.0-rc.2
</ins><span class="cx" style="display: block; padding: 0 10px"> * http://jqueryui.com
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Copyright jQuery Foundation and other contributors
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -364,6 +354,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $.fn.labels = function() {
</span><span class="cx" style="display: block; padding: 0 10px"> var ancestor, selector, id, labels, ancestors;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( !this.length ) {
+ return this.pushStack( [] );
+ }
+
</ins><span class="cx" style="display: block; padding: 0 10px"> // Check control.labels first
</span><span class="cx" style="display: block; padding: 0 10px"> if ( this[ 0 ].labels && this[ 0 ].labels.length ) {
</span><span class="cx" style="display: block; padding: 0 10px"> return this.pushStack( this[ 0 ].labels );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -386,7 +380,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ancestors = ancestor.add( ancestor.length ? ancestor.siblings() : this.siblings() );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // Create a selector for the label based on the id
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- selector = "label[for='" + $.ui.escapeSelector( id ) + "']";
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ selector = "label[for='" + $.escapeSelector( id ) + "']";
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> labels = labels.add( ancestors.find( selector ).addBack( selector ) );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -430,7 +424,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // Source: position.js
</span><span class="cx" style="display: block; padding: 0 10px"> /*!
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * jQuery UI Position 1.12.1
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * jQuery UI Position 1.13.0-rc.2
</ins><span class="cx" style="display: block; padding: 0 10px"> * http://jqueryui.com
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Copyright jQuery Foundation and other contributors
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -468,6 +462,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> return parseInt( $.css( element, property ), 10 ) || 0;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+function isWindow( obj ) {
+ return obj != null && obj === obj.window;
+}
+
</ins><span class="cx" style="display: block; padding: 0 10px"> function getDimensions( elem ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var raw = elem[ 0 ];
</span><span class="cx" style="display: block; padding: 0 10px"> if ( raw.nodeType === 9 ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -477,7 +475,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> offset: { top: 0, left: 0 }
</span><span class="cx" style="display: block; padding: 0 10px"> };
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- if ( $.isWindow( raw ) ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( isWindow( raw ) ) {
</ins><span class="cx" style="display: block; padding: 0 10px"> return {
</span><span class="cx" style="display: block; padding: 0 10px"> width: elem.width(),
</span><span class="cx" style="display: block; padding: 0 10px"> height: elem.height(),
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -504,9 +502,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> return cachedScrollbarWidth;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> var w1, w2,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- div = $( "<div " +
- "style='display:block;position:absolute;width:50px;height:50px;overflow:hidden;'>" +
- "<div style='height:100px;width:auto;'></div></div>" ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ div = $( "<div style=" +
+ "'display:block;position:absolute;width:200px;height:200px;overflow:hidden;'>" +
+ "<div style='height:300px;width:auto;'></div></div>" ),
</ins><span class="cx" style="display: block; padding: 0 10px"> innerDiv = div.children()[ 0 ];
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> $( "body" ).append( div );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -539,12 +537,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> getWithinInfo: function( element ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var withinElement = $( element || window ),
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- isWindow = $.isWindow( withinElement[ 0 ] ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ isElemWindow = isWindow( withinElement[ 0 ] ),
</ins><span class="cx" style="display: block; padding: 0 10px"> isDocument = !!withinElement[ 0 ] && withinElement[ 0 ].nodeType === 9,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- hasOffset = !isWindow && !isDocument;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ hasOffset = !isElemWindow && !isDocument;
</ins><span class="cx" style="display: block; padding: 0 10px"> return {
</span><span class="cx" style="display: block; padding: 0 10px"> element: withinElement,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- isWindow: isWindow,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ isWindow: isElemWindow,
</ins><span class="cx" style="display: block; padding: 0 10px"> isDocument: isDocument,
</span><span class="cx" style="display: block; padding: 0 10px"> offset: hasOffset ? $( element ).offset() : { left: 0, top: 0 },
</span><span class="cx" style="display: block; padding: 0 10px"> scrollLeft: withinElement.scrollLeft(),
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -564,7 +562,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> options = $.extend( {}, options );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> var atOffset, targetWidth, targetHeight, targetOffset, basePosition, dimensions,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- target = $( options.of ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
+ // Make sure string options are treated as CSS selectors
+ target = typeof options.of === "string" ?
+ $( document ).find( options.of ) :
+ $( options.of ),
+
</ins><span class="cx" style="display: block; padding: 0 10px"> within = $.position.getWithinInfo( options.within ),
</span><span class="cx" style="display: block; padding: 0 10px"> scrollInfo = $.position.getScrollInfo( within ),
</span><span class="cx" style="display: block; padding: 0 10px"> collision = ( options.collision || "flip" ).split( " " ),
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -954,7 +957,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // Source: scroll-parent.js
</span><span class="cx" style="display: block; padding: 0 10px"> /*!
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * jQuery UI Scroll Parent 1.12.1
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * jQuery UI Scroll Parent 1.13.0-rc.2
</ins><span class="cx" style="display: block; padding: 0 10px"> * http://jqueryui.com
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Copyright jQuery Foundation and other contributors
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -987,7 +990,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // Source: tabbable.js
</span><span class="cx" style="display: block; padding: 0 10px"> /*!
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * jQuery UI Tabbable 1.12.1
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * jQuery UI Tabbable 1.13.0-rc.2
</ins><span class="cx" style="display: block; padding: 0 10px"> * http://jqueryui.com
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Copyright jQuery Foundation and other contributors
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1000,7 +1003,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> //>>description: Selects elements which can be tabbed to.
</span><span class="cx" style="display: block; padding: 0 10px"> //>>docs: http://api.jqueryui.com/tabbable-selector/
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-$.extend( $.expr[ ":" ], {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+$.extend( $.expr.pseudos, {
</ins><span class="cx" style="display: block; padding: 0 10px"> tabbable: function( element ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var tabIndex = $.attr( element, "tabindex" ),
</span><span class="cx" style="display: block; padding: 0 10px"> hasTabindex = tabIndex != null;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1010,7 +1013,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // Source: unique-id.js
</span><span class="cx" style="display: block; padding: 0 10px"> /*!
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * jQuery UI Unique ID 1.12.1
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * jQuery UI Unique ID 1.13.0-rc.2
</ins><span class="cx" style="display: block; padding: 0 10px"> * http://jqueryui.com
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Copyright jQuery Foundation and other contributors
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1047,7 +1050,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // Source: widget.js
</span><span class="cx" style="display: block; padding: 0 10px"> /*!
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * jQuery UI Widget 1.12.1
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * jQuery UI Widget 1.13.0-rc.2
</ins><span class="cx" style="display: block; padding: 0 10px"> * http://jqueryui.com
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Copyright jQuery Foundation and other contributors
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1062,6 +1065,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> //>>demos: http://jqueryui.com/widget/
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> var widgetUuid = 0;
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var widgetHasOwnProperty = Array.prototype.hasOwnProperty;
</ins><span class="cx" style="display: block; padding: 0 10px"> var widgetSlice = Array.prototype.slice;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> $.cleanData = ( function( orig ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1068,16 +1072,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> return function( elems ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var events, elem, i;
</span><span class="cx" style="display: block; padding: 0 10px"> for ( i = 0; ( elem = elems[ i ] ) != null; i++ ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- try {
</del><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // Only trigger remove when necessary to save time
- events = $._data( elem, "events" );
- if ( events && events.remove ) {
- $( elem ).triggerHandler( "remove" );
- }
-
- // Http://bugs.jquery.com/ticket/8235
- } catch ( e ) {}
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // Only trigger remove when necessary to save time
+ events = $._data( elem, "events" );
+ if ( events && events.remove ) {
+ $( elem ).triggerHandler( "remove" );
+ }
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> orig( elems );
</span><span class="cx" style="display: block; padding: 0 10px"> };
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1099,12 +1099,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> base = $.Widget;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- if ( $.isArray( prototype ) ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( Array.isArray( prototype ) ) {
</ins><span class="cx" style="display: block; padding: 0 10px"> prototype = $.extend.apply( null, [ {} ].concat( prototype ) );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // Create selector for plugin
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $.expr[ ":" ][ fullName.toLowerCase() ] = function( elem ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ $.expr.pseudos[ fullName.toLowerCase() ] = function( elem ) {
</ins><span class="cx" style="display: block; padding: 0 10px"> return !!$.data( elem, fullName );
</span><span class="cx" style="display: block; padding: 0 10px"> };
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1144,7 +1144,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // inheriting from
</span><span class="cx" style="display: block; padding: 0 10px"> basePrototype.options = $.widget.extend( {}, basePrototype.options );
</span><span class="cx" style="display: block; padding: 0 10px"> $.each( prototype, function( prop, value ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- if ( !$.isFunction( value ) ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( typeof value !== "function" ) {
</ins><span class="cx" style="display: block; padding: 0 10px"> proxiedPrototype[ prop ] = value;
</span><span class="cx" style="display: block; padding: 0 10px"> return;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1223,7 +1223,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> for ( ; inputIndex < inputLength; inputIndex++ ) {
</span><span class="cx" style="display: block; padding: 0 10px"> for ( key in input[ inputIndex ] ) {
</span><span class="cx" style="display: block; padding: 0 10px"> value = input[ inputIndex ][ key ];
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- if ( input[ inputIndex ].hasOwnProperty( key ) && value !== undefined ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( widgetHasOwnProperty.call( input[ inputIndex ], key ) && value !== undefined ) {
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // Clone objects
</span><span class="cx" style="display: block; padding: 0 10px"> if ( $.isPlainObject( value ) ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1272,7 +1272,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "attempted to call method '" + options + "'" );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- if ( !$.isFunction( instance[ options ] ) || options.charAt( 0 ) === "_" ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( typeof instance[ options ] !== "function" ||
+ options.charAt( 0 ) === "_" ) {
</ins><span class="cx" style="display: block; padding: 0 10px"> return $.error( "no such method '" + options + "' for " + name +
</span><span class="cx" style="display: block; padding: 0 10px"> " widget instance" );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1533,12 +1534,30 @@
</span><span class="cx" style="display: block; padding: 0 10px"> classes: this.options.classes || {}
</span><span class="cx" style="display: block; padding: 0 10px"> }, options );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ function bindRemoveEvent() {
+ options.element.each( function( _, element ) {
+ var isTracked = $.map( that.classesElementLookup, function( elements ) {
+ return elements;
+ } )
+ .some( function( elements ) {
+ return elements.is( element );
+ } );
+
+ if ( !isTracked ) {
+ that._on( $( element ), {
+ remove: "_untrackClassesElement"
+ } );
+ }
+ } );
+ }
+
</ins><span class="cx" style="display: block; padding: 0 10px"> function processClassString( classes, checkOption ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var current, i;
</span><span class="cx" style="display: block; padding: 0 10px"> for ( i = 0; i < classes.length; i++ ) {
</span><span class="cx" style="display: block; padding: 0 10px"> current = that.classesElementLookup[ classes[ i ] ] || $();
</span><span class="cx" style="display: block; padding: 0 10px"> if ( options.add ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- current = $( $.unique( current.get().concat( options.element.get() ) ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ bindRemoveEvent();
+ current = $( $.uniqueSort( current.get().concat( options.element.get() ) ) );
</ins><span class="cx" style="display: block; padding: 0 10px"> } else {
</span><span class="cx" style="display: block; padding: 0 10px"> current = $( current.not( options.element ).get() );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1550,10 +1569,6 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- this._on( options.element, {
- "remove": "_untrackClassesElement"
- } );
-
</del><span class="cx" style="display: block; padding: 0 10px"> if ( options.keys ) {
</span><span class="cx" style="display: block; padding: 0 10px"> processClassString( options.keys.match( /\S+/g ) || [], true );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1571,6 +1586,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> that.classesElementLookup[ key ] = $( value.not( event.target ).get() );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> } );
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
+ this._off( $( event.target ) );
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> _removeClass: function( element, keys, extra ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1651,7 +1668,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> _off: function( element, eventName ) {
</span><span class="cx" style="display: block; padding: 0 10px"> eventName = ( eventName || "" ).split( " " ).join( this.eventNamespace + " " ) +
</span><span class="cx" style="display: block; padding: 0 10px"> this.eventNamespace;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- element.off( eventName ).off( eventName );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ element.off( eventName );
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // Clear the stack to avoid memory leaks (#10056)
</span><span class="cx" style="display: block; padding: 0 10px"> this.bindings = $( this.bindings.not( element ).get() );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1717,7 +1734,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> this.element.trigger( event, data );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- return !( $.isFunction( callback ) &&
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ return !( typeof callback === "function" &&
</ins><span class="cx" style="display: block; padding: 0 10px"> callback.apply( this.element[ 0 ], [ event ].concat( data ) ) === false ||
</span><span class="cx" style="display: block; padding: 0 10px"> event.isDefaultPrevented() );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1739,6 +1756,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> options = options || {};
</span><span class="cx" style="display: block; padding: 0 10px"> if ( typeof options === "number" ) {
</span><span class="cx" style="display: block; padding: 0 10px"> options = { duration: options };
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ } else if ( options === true ) {
+ options = {};
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> hasOptions = !$.isEmptyObject( options );
</span></span></pre></div>
<a id="trunksrcjs_enqueuesvendorjqueryuidatepickerjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/js/_enqueues/vendor/jquery/ui/datepicker.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/vendor/jquery/ui/datepicker.js 2021-09-09 22:55:36 UTC (rev 51793)
+++ trunk/src/js/_enqueues/vendor/jquery/ui/datepicker.js 2021-09-10 00:01:24 UTC (rev 51794)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,7 +1,6 @@
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-// jscs:disable maximumLineLength
-/* jscs:disable requireCamelCaseOrUpperCaseIdentifiers */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/* eslint-disable max-len, camelcase */
</ins><span class="cx" style="display: block; padding: 0 10px"> /*!
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * jQuery UI Datepicker 1.12.1
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * jQuery UI Datepicker 1.13.0-rc.2
</ins><span class="cx" style="display: block; padding: 0 10px"> * http://jqueryui.com
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Copyright jQuery Foundation and other contributors
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -19,6 +18,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> //>>css.theme: ../../themes/base/theme.css
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> ( function( factory ) {
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "use strict";
+
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( typeof define === "function" && define.amd ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // AMD. Register as an anonymous module.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -31,9 +32,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // Browser globals
</span><span class="cx" style="display: block; padding: 0 10px"> factory( jQuery );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-}( function( $ ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+} )( function( $ ) {
+"use strict";
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-$.extend( $.ui, { datepicker: { version: "1.12.1" } } );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+$.extend( $.ui, { datepicker: { version: "1.13.0-rc.2" } } );
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> var datepicker_instActive;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -61,6 +63,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> return 0;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px"> /* Date picker manager.
</span><span class="cx" style="display: block; padding: 0 10px"> Use the singleton instance of this class, $.datepicker, to interact with the date picker.
</span><span class="cx" style="display: block; padding: 0 10px"> Settings for (groups of) date pickers are maintained in an instance object,
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -87,18 +90,20 @@
</span><span class="cx" style="display: block; padding: 0 10px"> prevText: "Prev", // Display text for previous month link
</span><span class="cx" style="display: block; padding: 0 10px"> nextText: "Next", // Display text for next month link
</span><span class="cx" style="display: block; padding: 0 10px"> currentText: "Today", // Display text for current month link
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- monthNames: [ "January","February","March","April","May","June",
- "July","August","September","October","November","December" ], // Names of months for drop-down and formatting
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ monthNames: [ "January", "February", "March", "April", "May", "June",
+ "July", "August", "September", "October", "November", "December" ], // Names of months for drop-down and formatting
</ins><span class="cx" style="display: block; padding: 0 10px"> monthNamesShort: [ "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" ], // For formatting
</span><span class="cx" style="display: block; padding: 0 10px"> dayNames: [ "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" ], // For formatting
</span><span class="cx" style="display: block; padding: 0 10px"> dayNamesShort: [ "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" ], // For formatting
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- dayNamesMin: [ "Su","Mo","Tu","We","Th","Fr","Sa" ], // Column headings for days starting at Sunday
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ dayNamesMin: [ "Su", "Mo", "Tu", "We", "Th", "Fr", "Sa" ], // Column headings for days starting at Sunday
</ins><span class="cx" style="display: block; padding: 0 10px"> weekHeader: "Wk", // Column header for week of the year
</span><span class="cx" style="display: block; padding: 0 10px"> dateFormat: "mm/dd/yy", // See format options on parseDate
</span><span class="cx" style="display: block; padding: 0 10px"> firstDay: 0, // The first day of the week, Sun = 0, Mon = 1, ...
</span><span class="cx" style="display: block; padding: 0 10px"> isRTL: false, // True if right-to-left language, false if left-to-right
</span><span class="cx" style="display: block; padding: 0 10px"> showMonthAfterYear: false, // True if the year select precedes month, false for month then year
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- yearSuffix: "" // Additional text to append to the year in the month headers
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ yearSuffix: "", // Additional text to append to the year in the month headers,
+ selectMonthLabel: "Select month", // Invisible label for month selector
+ selectYearLabel: "Select year" // Invisible label for year selector
</ins><span class="cx" style="display: block; padding: 0 10px"> };
</span><span class="cx" style="display: block; padding: 0 10px"> this._defaults = { // Global defaults for all the date picker instances
</span><span class="cx" style="display: block; padding: 0 10px"> showOn: "focus", // "focus" for popup on focus,
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -139,6 +144,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> onSelect: null, // Define a callback function when a date is selected
</span><span class="cx" style="display: block; padding: 0 10px"> onChangeMonthYear: null, // Define a callback function when the month or year is changed
</span><span class="cx" style="display: block; padding: 0 10px"> onClose: null, // Define a callback function when the datepicker is closed
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ onUpdateDatepicker: null, // Define a callback function when the datepicker is updated
</ins><span class="cx" style="display: block; padding: 0 10px"> numberOfMonths: 1, // Number of months to show at a time
</span><span class="cx" style="display: block; padding: 0 10px"> showCurrentAtPos: 0, // The position in multipe months at which to show the current month (starting at 0)
</span><span class="cx" style="display: block; padding: 0 10px"> stepMonths: 1, // Number of months to step back/forward
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -157,6 +163,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> $.extend( Datepicker.prototype, {
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px"> /* Class name added to elements to indicate already configured with a date picker. */
</span><span class="cx" style="display: block; padding: 0 10px"> markerClassName: "hasDatepicker",
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -239,7 +246,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> inst.append.remove();
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> if ( appendText ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- inst.append = $( "<span class='" + this._appendClass + "'>" + appendText + "</span>" );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ inst.append = $( "<span>" )
+ .addClass( this._appendClass )
+ .text( appendText );
</ins><span class="cx" style="display: block; padding: 0 10px"> input[ isRTL ? "before" : "after" ]( inst.append );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -256,12 +265,32 @@
</span><span class="cx" style="display: block; padding: 0 10px"> if ( showOn === "button" || showOn === "both" ) { // pop-up date picker when button clicked
</span><span class="cx" style="display: block; padding: 0 10px"> buttonText = this._get( inst, "buttonText" );
</span><span class="cx" style="display: block; padding: 0 10px"> buttonImage = this._get( inst, "buttonImage" );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- inst.trigger = $( this._get( inst, "buttonImageOnly" ) ?
- $( "<img/>" ).addClass( this._triggerClass ).
- attr( { src: buttonImage, alt: buttonText, title: buttonText } ) :
- $( "<button type='button'></button>" ).addClass( this._triggerClass ).
- html( !buttonImage ? buttonText : $( "<img/>" ).attr(
- { src:buttonImage, alt:buttonText, title:buttonText } ) ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
+ if ( this._get( inst, "buttonImageOnly" ) ) {
+ inst.trigger = $( "<img>" )
+ .addClass( this._triggerClass )
+ .attr( {
+ src: buttonImage,
+ alt: buttonText,
+ title: buttonText
+ } );
+ } else {
+ inst.trigger = $( "<button type='button'>" )
+ .addClass( this._triggerClass );
+ if ( buttonImage ) {
+ inst.trigger.html(
+ $( "<img>" )
+ .attr( {
+ src: buttonImage,
+ alt: buttonText,
+ title: buttonText
+ } )
+ );
+ } else {
+ inst.trigger.text( buttonText );
+ }
+ }
+
</ins><span class="cx" style="display: block; padding: 0 10px"> input[ isRTL ? "before" : "after" ]( inst.trigger );
</span><span class="cx" style="display: block; padding: 0 10px"> inst.trigger.on( "click", function() {
</span><span class="cx" style="display: block; padding: 0 10px"> if ( $.datepicker._datepickerShowing && $.datepicker._lastInput === input[ 0 ] ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -407,6 +436,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( datepicker_instActive === inst ) {
</span><span class="cx" style="display: block; padding: 0 10px"> datepicker_instActive = null;
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ this._curInst = null;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -426,7 +456,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> if ( nodeName === "input" ) {
</span><span class="cx" style="display: block; padding: 0 10px"> target.disabled = false;
</span><span class="cx" style="display: block; padding: 0 10px"> inst.trigger.filter( "button" ).
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- each( function() { this.disabled = false; } ).end().
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ each( function() {
+ this.disabled = false;
+ } ).end().
</ins><span class="cx" style="display: block; padding: 0 10px"> filter( "img" ).css( { opacity: "1.0", cursor: "" } );
</span><span class="cx" style="display: block; padding: 0 10px"> } else if ( nodeName === "div" || nodeName === "span" ) {
</span><span class="cx" style="display: block; padding: 0 10px"> inline = $target.children( "." + this._inlineClass );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -435,7 +467,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> prop( "disabled", false );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> this._disabledInputs = $.map( this._disabledInputs,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- function( value ) { return ( value === target ? null : value ); } ); // delete entry
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
+ // Delete entry
+ function( value ) {
+ return ( value === target ? null : value );
+ } );
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /* Disable the date picker to a jQuery selection.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -454,7 +490,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> if ( nodeName === "input" ) {
</span><span class="cx" style="display: block; padding: 0 10px"> target.disabled = true;
</span><span class="cx" style="display: block; padding: 0 10px"> inst.trigger.filter( "button" ).
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- each( function() { this.disabled = true; } ).end().
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ each( function() {
+ this.disabled = true;
+ } ).end().
</ins><span class="cx" style="display: block; padding: 0 10px"> filter( "img" ).css( { opacity: "0.5", cursor: "default" } );
</span><span class="cx" style="display: block; padding: 0 10px"> } else if ( nodeName === "div" || nodeName === "span" ) {
</span><span class="cx" style="display: block; padding: 0 10px"> inline = $target.children( "." + this._inlineClass );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -463,7 +501,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> prop( "disabled", true );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> this._disabledInputs = $.map( this._disabledInputs,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- function( value ) { return ( value === target ? null : value ); } ); // delete entry
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
+ // Delete entry
+ function( value ) {
+ return ( value === target ? null : value );
+ } );
</ins><span class="cx" style="display: block; padding: 0 10px"> this._disabledInputs[ this._disabledInputs.length ] = target;
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -491,8 +533,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> _getInst: function( target ) {
</span><span class="cx" style="display: block; padding: 0 10px"> try {
</span><span class="cx" style="display: block; padding: 0 10px"> return $.data( target, "datepicker" );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- }
- catch ( err ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ } catch ( err ) {
</ins><span class="cx" style="display: block; padding: 0 10px"> throw "Missing instance data for this datepicker";
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -725,9 +766,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $.datepicker._updateAlternate( inst );
</span><span class="cx" style="display: block; padding: 0 10px"> $.datepicker._updateDatepicker( inst );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ } catch ( err ) {
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- catch ( err ) {
- }
</del><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> return true;
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -831,7 +871,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> numMonths = this._getNumberOfMonths( inst ),
</span><span class="cx" style="display: block; padding: 0 10px"> cols = numMonths[ 1 ],
</span><span class="cx" style="display: block; padding: 0 10px"> width = 17,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- activeCell = inst.dpDiv.find( "." + this._dayOverClass + " a" );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ activeCell = inst.dpDiv.find( "." + this._dayOverClass + " a" ),
+ onUpdateDatepicker = $.datepicker._get( inst, "onUpdateDatepicker" );
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( activeCell.length > 0 ) {
</span><span class="cx" style="display: block; padding: 0 10px"> datepicker_handleMouseover.apply( activeCell.get( 0 ) );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -857,11 +898,15 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> //assure that inst.yearshtml didn't change.
</span><span class="cx" style="display: block; padding: 0 10px"> if ( origyearshtml === inst.yearshtml && inst.yearshtml ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- inst.dpDiv.find( "select.ui-datepicker-year:first" ).replaceWith( inst.yearshtml );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ inst.dpDiv.find( "select.ui-datepicker-year" ).first().replaceWith( inst.yearshtml );
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> origyearshtml = inst.yearshtml = null;
</span><span class="cx" style="display: block; padding: 0 10px"> }, 0 );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
+ if ( onUpdateDatepicker ) {
+ onUpdateDatepicker.apply( ( inst.input ? inst.input[ 0 ] : null ), [ inst ] );
+ }
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // #6694 - don't focus the input if it's already focused
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -899,7 +944,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> inst = this._getInst( obj ),
</span><span class="cx" style="display: block; padding: 0 10px"> isRTL = this._get( inst, "isRTL" );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- while ( obj && ( obj.type === "hidden" || obj.nodeType !== 1 || $.expr.filters.hidden( obj ) ) ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ while ( obj && ( obj.type === "hidden" || obj.nodeType !== 1 || $.expr.pseudos.hidden( obj ) ) ) {
</ins><span class="cx" style="display: block; padding: 0 10px"> obj = obj[ isRTL ? "previousSibling" : "nextSibling" ];
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -987,9 +1032,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> if ( this._isDisabledDatepicker( target[ 0 ] ) ) {
</span><span class="cx" style="display: block; padding: 0 10px"> return;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- this._adjustInstDate( inst, offset +
- ( period === "M" ? this._get( inst, "showCurrentAtPos" ) : 0 ), // undo positioning
- period );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ this._adjustInstDate( inst, offset, period );
</ins><span class="cx" style="display: block; padding: 0 10px"> this._updateDatepicker( inst );
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1036,7 +1079,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> inst = this._getInst( target[ 0 ] );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- inst.selectedDay = inst.currentDay = $( "a", td ).html();
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ inst.selectedDay = inst.currentDay = parseInt( $( "a", td ).attr( "data-date" ) );
</ins><span class="cx" style="display: block; padding: 0 10px"> inst.selectedMonth = inst.currentMonth = month;
</span><span class="cx" style="display: block; padding: 0 10px"> inst.selectedYear = inst.currentYear = year;
</span><span class="cx" style="display: block; padding: 0 10px"> this._selectDate( id, this._formatDate( inst,
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1089,7 +1132,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> altFormat = this._get( inst, "altFormat" ) || this._get( inst, "dateFormat" );
</span><span class="cx" style="display: block; padding: 0 10px"> date = this._getDate( inst );
</span><span class="cx" style="display: block; padding: 0 10px"> dateStr = this.formatDate( altFormat, date, this._getFormatConfig( inst ) );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $( altField ).val( dateStr );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ $( document ).find( altField ).val( dateStr );
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1528,8 +1571,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> try {
</span><span class="cx" style="display: block; padding: 0 10px"> return $.datepicker.parseDate( $.datepicker._get( inst, "dateFormat" ),
</span><span class="cx" style="display: block; padding: 0 10px"> offset, $.datepicker._getFormatConfig( inst ) );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- }
- catch ( e ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ } catch ( e ) {
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // Ignore
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1703,10 +1745,35 @@
</span><span class="cx" style="display: block; padding: 0 10px"> this._daylightSavingAdjust( new Date( drawYear, drawMonth - stepMonths, 1 ) ),
</span><span class="cx" style="display: block; padding: 0 10px"> this._getFormatConfig( inst ) ) );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- prev = ( this._canAdjustMonth( inst, -1, drawYear, drawMonth ) ?
- "<a class='ui-datepicker-prev ui-corner-all' data-handler='prev' data-event='click'" +
- " title='" + prevText + "'><span class='ui-icon ui-icon-circle-triangle-" + ( isRTL ? "e" : "w" ) + "'>" + prevText + "</span></a>" :
- ( hideIfNoPrevNext ? "" : "<a class='ui-datepicker-prev ui-corner-all ui-state-disabled' title='" + prevText + "'><span class='ui-icon ui-icon-circle-triangle-" + ( isRTL ? "e" : "w" ) + "'>" + prevText + "</span></a>" ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( this._canAdjustMonth( inst, -1, drawYear, drawMonth ) ) {
+ prev = $( "<a>" )
+ .attr( {
+ "class": "ui-datepicker-prev ui-corner-all",
+ "data-handler": "prev",
+ "data-event": "click",
+ title: prevText
+ } )
+ .append(
+ $( "<span>" )
+ .addClass( "ui-icon ui-icon-circle-triangle-" +
+ ( isRTL ? "e" : "w" ) )
+ .text( prevText )
+ )[ 0 ].outerHTML;
+ } else if ( hideIfNoPrevNext ) {
+ prev = "";
+ } else {
+ prev = $( "<a>" )
+ .attr( {
+ "class": "ui-datepicker-prev ui-corner-all ui-state-disabled",
+ title: prevText
+ } )
+ .append(
+ $( "<span>" )
+ .addClass( "ui-icon ui-icon-circle-triangle-" +
+ ( isRTL ? "e" : "w" ) )
+ .text( prevText )
+ )[ 0 ].outerHTML;
+ }
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> nextText = this._get( inst, "nextText" );
</span><span class="cx" style="display: block; padding: 0 10px"> nextText = ( !navigationAsDateFormat ? nextText : this.formatDate( nextText,
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1713,10 +1780,35 @@
</span><span class="cx" style="display: block; padding: 0 10px"> this._daylightSavingAdjust( new Date( drawYear, drawMonth + stepMonths, 1 ) ),
</span><span class="cx" style="display: block; padding: 0 10px"> this._getFormatConfig( inst ) ) );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- next = ( this._canAdjustMonth( inst, +1, drawYear, drawMonth ) ?
- "<a class='ui-datepicker-next ui-corner-all' data-handler='next' data-event='click'" +
- " title='" + nextText + "'><span class='ui-icon ui-icon-circle-triangle-" + ( isRTL ? "w" : "e" ) + "'>" + nextText + "</span></a>" :
- ( hideIfNoPrevNext ? "" : "<a class='ui-datepicker-next ui-corner-all ui-state-disabled' title='" + nextText + "'><span class='ui-icon ui-icon-circle-triangle-" + ( isRTL ? "w" : "e" ) + "'>" + nextText + "</span></a>" ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( this._canAdjustMonth( inst, +1, drawYear, drawMonth ) ) {
+ next = $( "<a>" )
+ .attr( {
+ "class": "ui-datepicker-next ui-corner-all",
+ "data-handler": "next",
+ "data-event": "click",
+ title: nextText
+ } )
+ .append(
+ $( "<span>" )
+ .addClass( "ui-icon ui-icon-circle-triangle-" +
+ ( isRTL ? "w" : "e" ) )
+ .text( nextText )
+ )[ 0 ].outerHTML;
+ } else if ( hideIfNoPrevNext ) {
+ next = "";
+ } else {
+ next = $( "<a>" )
+ .attr( {
+ "class": "ui-datepicker-next ui-corner-all ui-state-disabled",
+ title: nextText
+ } )
+ .append(
+ $( "<span>" )
+ .attr( "class", "ui-icon ui-icon-circle-triangle-" +
+ ( isRTL ? "w" : "e" ) )
+ .text( nextText )
+ )[ 0 ].outerHTML;
+ }
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> currentText = this._get( inst, "currentText" );
</span><span class="cx" style="display: block; padding: 0 10px"> gotoDate = ( this._get( inst, "gotoCurrent" ) && inst.currentDay ? currentDate : today );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1723,12 +1815,34 @@
</span><span class="cx" style="display: block; padding: 0 10px"> currentText = ( !navigationAsDateFormat ? currentText :
</span><span class="cx" style="display: block; padding: 0 10px"> this.formatDate( currentText, gotoDate, this._getFormatConfig( inst ) ) );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- controls = ( !inst.inline ? "<button type='button' class='ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all' data-handler='hide' data-event='click'>" +
- this._get( inst, "closeText" ) + "</button>" : "" );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ controls = "";
+ if ( !inst.inline ) {
+ controls = $( "<button>" )
+ .attr( {
+ type: "button",
+ "class": "ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all",
+ "data-handler": "hide",
+ "data-event": "click"
+ } )
+ .text( this._get( inst, "closeText" ) )[ 0 ].outerHTML;
+ }
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- buttonPanel = ( showButtonPanel ) ? "<div class='ui-datepicker-buttonpane ui-widget-content'>" + ( isRTL ? controls : "" ) +
- ( this._isInRange( inst, gotoDate ) ? "<button type='button' class='ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all' data-handler='today' data-event='click'" +
- ">" + currentText + "</button>" : "" ) + ( isRTL ? "" : controls ) + "</div>" : "";
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ buttonPanel = "";
+ if ( showButtonPanel ) {
+ buttonPanel = $( "<div class='ui-datepicker-buttonpane ui-widget-content'>" )
+ .append( isRTL ? controls : "" )
+ .append( this._isInRange( inst, gotoDate ) ?
+ $( "<button>" )
+ .attr( {
+ type: "button",
+ "class": "ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all",
+ "data-handler": "today",
+ "data-event": "click"
+ } )
+ .text( currentText ) :
+ "" )
+ .append( isRTL ? "" : controls )[ 0 ].outerHTML;
+ }
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> firstDay = parseInt( this._get( inst, "firstDay" ), 10 );
</span><span class="cx" style="display: block; padding: 0 10px"> firstDay = ( isNaN( firstDay ) ? 0 : firstDay );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1816,7 +1930,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ( printDate.getTime() === today.getTime() ? " ui-state-highlight" : "" ) +
</span><span class="cx" style="display: block; padding: 0 10px"> ( printDate.getTime() === currentDate.getTime() ? " ui-state-active" : "" ) + // highlight selected day
</span><span class="cx" style="display: block; padding: 0 10px"> ( otherMonth ? " ui-priority-secondary" : "" ) + // distinguish dates from other months
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "' href='#'>" + printDate.getDate() + "</a>" ) ) + "</td>"; // display selectable date
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "' href='#' aria-current='" + ( printDate.getTime() === currentDate.getTime() ? "true" : "false" ) + // mark date as selected for screen reader
+ "' data-date='" + printDate.getDate() + // store date as data
+ "'>" + printDate.getDate() + "</a>" ) ) + "</td>"; // display selectable date
</ins><span class="cx" style="display: block; padding: 0 10px"> printDate.setDate( printDate.getDate() + 1 );
</span><span class="cx" style="display: block; padding: 0 10px"> printDate = this._daylightSavingAdjust( printDate );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1846,6 +1962,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> changeMonth = this._get( inst, "changeMonth" ),
</span><span class="cx" style="display: block; padding: 0 10px"> changeYear = this._get( inst, "changeYear" ),
</span><span class="cx" style="display: block; padding: 0 10px"> showMonthAfterYear = this._get( inst, "showMonthAfterYear" ),
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ selectMonthLabel = this._get( inst, "selectMonthLabel" ),
+ selectYearLabel = this._get( inst, "selectYearLabel" ),
</ins><span class="cx" style="display: block; padding: 0 10px"> html = "<div class='ui-datepicker-title'>",
</span><span class="cx" style="display: block; padding: 0 10px"> monthHtml = "";
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1855,7 +1973,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> } else {
</span><span class="cx" style="display: block; padding: 0 10px"> inMinYear = ( minDate && minDate.getFullYear() === drawYear );
</span><span class="cx" style="display: block; padding: 0 10px"> inMaxYear = ( maxDate && maxDate.getFullYear() === drawYear );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- monthHtml += "<select class='ui-datepicker-month' data-handler='selectMonth' data-event='change'>";
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ monthHtml += "<select class='ui-datepicker-month' aria-label='" + selectMonthLabel + "' data-handler='selectMonth' data-event='change'>";
</ins><span class="cx" style="display: block; padding: 0 10px"> for ( month = 0; month < 12; month++ ) {
</span><span class="cx" style="display: block; padding: 0 10px"> if ( ( !inMinYear || month >= minDate.getMonth() ) && ( !inMaxYear || month <= maxDate.getMonth() ) ) {
</span><span class="cx" style="display: block; padding: 0 10px"> monthHtml += "<option value='" + month + "'" +
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1890,7 +2008,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> endYear = Math.max( year, determineYear( years[ 1 ] || "" ) );
</span><span class="cx" style="display: block; padding: 0 10px"> year = ( minDate ? Math.max( year, minDate.getFullYear() ) : year );
</span><span class="cx" style="display: block; padding: 0 10px"> endYear = ( maxDate ? Math.min( endYear, maxDate.getFullYear() ) : endYear );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- inst.yearshtml += "<select class='ui-datepicker-year' data-handler='selectYear' data-event='change'>";
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ inst.yearshtml += "<select class='ui-datepicker-year' aria-label='" + selectYearLabel + "' data-handler='selectYear' data-event='change'>";
</ins><span class="cx" style="display: block; padding: 0 10px"> for ( ; year <= endYear; year++ ) {
</span><span class="cx" style="display: block; padding: 0 10px"> inst.yearshtml += "<option value='" + year + "'" +
</span><span class="cx" style="display: block; padding: 0 10px"> ( year === drawYear ? " selected='selected'" : "" ) +
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2102,10 +2220,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> apply( $.datepicker, [ this[ 0 ] ].concat( otherArgs ) );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> return this.each( function() {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- typeof options === "string" ?
- $.datepicker[ "_" + options + "Datepicker" ].
- apply( $.datepicker, [ this ].concat( otherArgs ) ) :
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( typeof options === "string" ) {
+ $.datepicker[ "_" + options + "Datepicker" ]
+ .apply( $.datepicker, [ this ].concat( otherArgs ) );
+ } else {
</ins><span class="cx" style="display: block; padding: 0 10px"> $.datepicker._attachDatepicker( this, options );
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ }
</ins><span class="cx" style="display: block; padding: 0 10px"> } );
</span><span class="cx" style="display: block; padding: 0 10px"> };
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2112,8 +2232,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $.datepicker = new Datepicker(); // singleton instance
</span><span class="cx" style="display: block; padding: 0 10px"> $.datepicker.initialized = false;
</span><span class="cx" style="display: block; padding: 0 10px"> $.datepicker.uuid = new Date().getTime();
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-$.datepicker.version = "1.12.1";
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+$.datepicker.version = "1.13.0-rc.2";
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> return $.datepicker;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-} ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+} );
</ins></span></pre></div>
<a id="trunksrcjs_enqueuesvendorjqueryuidialogjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/js/_enqueues/vendor/jquery/ui/dialog.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/vendor/jquery/ui/dialog.js 2021-09-09 22:55:36 UTC (rev 51793)
+++ trunk/src/js/_enqueues/vendor/jquery/ui/dialog.js 2021-09-10 00:01:24 UTC (rev 51794)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,5 +1,5 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /*!
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * jQuery UI Dialog 1.12.1
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * jQuery UI Dialog 1.13.0-rc.2
</ins><span class="cx" style="display: block; padding: 0 10px"> * http://jqueryui.com
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Copyright jQuery Foundation and other contributors
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -17,6 +17,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> //>>css.theme: ../../themes/base/theme.css
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> ( function( factory ) {
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "use strict";
+
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( typeof define === "function" && define.amd ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // AMD. Register as an anonymous module.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -33,10 +35,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // Browser globals
</span><span class="cx" style="display: block; padding: 0 10px"> factory( jQuery );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-}( function( $ ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+} )( function( $ ) {
+"use strict";
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> $.widget( "ui.dialog", {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- version: "1.12.1",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ version: "1.13.0-rc.2",
</ins><span class="cx" style="display: block; padding: 0 10px"> options: {
</span><span class="cx" style="display: block; padding: 0 10px"> appendTo: "body",
</span><span class="cx" style="display: block; padding: 0 10px"> autoOpen: true,
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -281,7 +284,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> that._trigger( "focus" );
</span><span class="cx" style="display: block; padding: 0 10px"> } );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // Track the dialog immediately upon openening in case a focus event
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // Track the dialog immediately upon opening in case a focus event
</ins><span class="cx" style="display: block; padding: 0 10px"> // somehow occurs outside of the dialog before an element inside the
</span><span class="cx" style="display: block; padding: 0 10px"> // dialog is focused (#10152)
</span><span class="cx" style="display: block; padding: 0 10px"> this._makeFocusTarget();
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -317,22 +320,23 @@
</span><span class="cx" style="display: block; padding: 0 10px"> hasFocus.eq( 0 ).trigger( "focus" );
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ _restoreTabbableFocus: function() {
+ var activeElement = $.ui.safeActiveElement( this.document[ 0 ] ),
+ isActive = this.uiDialog[ 0 ] === activeElement ||
+ $.contains( this.uiDialog[ 0 ], activeElement );
+ if ( !isActive ) {
+ this._focusTabbable();
+ }
+ },
+
</ins><span class="cx" style="display: block; padding: 0 10px"> _keepFocus: function( event ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- function checkFocus() {
- var activeElement = $.ui.safeActiveElement( this.document[ 0 ] ),
- isActive = this.uiDialog[ 0 ] === activeElement ||
- $.contains( this.uiDialog[ 0 ], activeElement );
- if ( !isActive ) {
- this._focusTabbable();
- }
- }
</del><span class="cx" style="display: block; padding: 0 10px"> event.preventDefault();
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- checkFocus.call( this );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ this._restoreTabbableFocus();
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // support: IE
</span><span class="cx" style="display: block; padding: 0 10px"> // IE <= 8 doesn't prevent moving focus even with event.preventDefault()
</span><span class="cx" style="display: block; padding: 0 10px"> // so we check again later
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- this._delay( checkFocus );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ this._delay( this._restoreTabbableFocus );
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> _createWrapper: function() {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -361,8 +365,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> return;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> var tabbables = this.uiDialog.find( ":tabbable" ),
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- first = tabbables.filter( ":first" ),
- last = tabbables.filter( ":last" );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ first = tabbables.first(),
+ last = tabbables.last();
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( ( event.target === last[ 0 ] || event.target === this.uiDialog[ 0 ] ) &&
</span><span class="cx" style="display: block; padding: 0 10px"> !event.shiftKey ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -473,7 +477,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> this.uiDialogButtonPane.remove();
</span><span class="cx" style="display: block; padding: 0 10px"> this.uiButtonSet.empty();
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- if ( $.isEmptyObject( buttons ) || ( $.isArray( buttons ) && !buttons.length ) ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( $.isEmptyObject( buttons ) || ( Array.isArray( buttons ) && !buttons.length ) ) {
</ins><span class="cx" style="display: block; padding: 0 10px"> this._removeClass( this.uiDialog, "ui-dialog-buttons" );
</span><span class="cx" style="display: block; padding: 0 10px"> return;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -480,7 +484,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> $.each( buttons, function( name, props ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var click, buttonOptions;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- props = $.isFunction( props ) ?
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ props = typeof props === "function" ?
</ins><span class="cx" style="display: block; padding: 0 10px"> { click: props, text: name } :
</span><span class="cx" style="display: block; padding: 0 10px"> props;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -845,6 +849,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> return;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ var jqMinor = $.fn.jquery.substring( 0, 4 );
+
</ins><span class="cx" style="display: block; padding: 0 10px"> // We use a delay in case the overlay is created from an
</span><span class="cx" style="display: block; padding: 0 10px"> // event that we're going to be cancelling (#2804)
</span><span class="cx" style="display: block; padding: 0 10px"> var isOpening = true;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -855,20 +861,28 @@
</span><span class="cx" style="display: block; padding: 0 10px"> if ( !this.document.data( "ui-dialog-overlays" ) ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // Prevent use of anchors and inputs
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // Using _on() for an event handler shared across many instances is
- // safe because the dialogs stack and must be closed in reverse order
- this._on( this.document, {
- focusin: function( event ) {
- if ( isOpening ) {
- return;
- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // This doesn't use `_on()` because it is a shared event handler
+ // across all open modal dialogs.
+ this.document.on( "focusin.ui-dialog", function( event ) {
+ if ( isOpening ) {
+ return;
+ }
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- if ( !this._allowInteraction( event ) ) {
- event.preventDefault();
- this._trackingInstances()[ 0 ]._focusTabbable();
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ var instance = this._trackingInstances()[ 0 ];
+ if ( !instance._allowInteraction( event ) ) {
+ event.preventDefault();
+ instance._focusTabbable();
+
+ // Support: jQuery >=3.4 <3.6 only
+ // Focus re-triggering in jQuery 3.4/3.5 makes the original element
+ // have its focus event propagated last, breaking the re-targeting.
+ // Trigger focus in a delay in addition if needed to avoid the issue
+ // See https://github.com/jquery/jquery/issues/4382
+ if ( jqMinor === "3.4." || jqMinor === "3.5." ) {
+ instance._delay( instance._restoreTabbableFocus );
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- } );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ }.bind( this ) );
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> this.overlay = $( "<div>" )
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -891,7 +905,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> var overlays = this.document.data( "ui-dialog-overlays" ) - 1;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( !overlays ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- this._off( this.document, "focusin" );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ this.document.off( "focusin.ui-dialog" );
</ins><span class="cx" style="display: block; padding: 0 10px"> this.document.removeData( "ui-dialog-overlays" );
</span><span class="cx" style="display: block; padding: 0 10px"> } else {
</span><span class="cx" style="display: block; padding: 0 10px"> this.document.data( "ui-dialog-overlays", overlays );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -929,4 +943,4 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> return $.ui.dialog;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-} ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+} );
</ins></span></pre></div>
<a id="trunksrcjs_enqueuesvendorjqueryuidraggablejs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/js/_enqueues/vendor/jquery/ui/draggable.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/vendor/jquery/ui/draggable.js 2021-09-09 22:55:36 UTC (rev 51793)
+++ trunk/src/js/_enqueues/vendor/jquery/ui/draggable.js 2021-09-10 00:01:24 UTC (rev 51794)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,5 +1,5 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /*!
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * jQuery UI Draggable 1.12.1
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * jQuery UI Draggable 1.13.0-rc.2
</ins><span class="cx" style="display: block; padding: 0 10px"> * http://jqueryui.com
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Copyright jQuery Foundation and other contributors
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -15,6 +15,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> //>>css.structure: ../../themes/base/draggable.css
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> ( function( factory ) {
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "use strict";
+
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( typeof define === "function" && define.amd ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // AMD. Register as an anonymous module.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -28,10 +30,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // Browser globals
</span><span class="cx" style="display: block; padding: 0 10px"> factory( jQuery );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-}( function( $ ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+} )( function( $ ) {
+"use strict";
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> $.widget( "ui.draggable", $.ui.mouse, {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- version: "1.12.1",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ version: "1.13.0-rc.2",
</ins><span class="cx" style="display: block; padding: 0 10px"> widgetEventPrefix: "drag",
</span><span class="cx" style="display: block; padding: 0 10px"> options: {
</span><span class="cx" style="display: block; padding: 0 10px"> addClasses: true,
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -195,7 +198,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> this.originalPageY = event.pageY;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> //Adjust the mouse offset relative to the helper if "cursorAt" is supplied
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- ( o.cursorAt && this._adjustOffsetFromHelper( o.cursorAt ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( o.cursorAt ) {
+ this._adjustOffsetFromHelper( o.cursorAt );
+ }
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> //Set a containment if given in the options
</span><span class="cx" style="display: block; padding: 0 10px"> this._setContainment();
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -290,7 +295,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( ( this.options.revert === "invalid" && !dropped ) ||
</span><span class="cx" style="display: block; padding: 0 10px"> ( this.options.revert === "valid" && dropped ) ||
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- this.options.revert === true || ( $.isFunction( this.options.revert ) &&
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ this.options.revert === true || ( typeof this.options.revert === "function" &&
</ins><span class="cx" style="display: block; padding: 0 10px"> this.options.revert.call( this.element, dropped ) )
</span><span class="cx" style="display: block; padding: 0 10px"> ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $( this.helper ).animate(
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -362,7 +367,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> _createHelper: function( event ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> var o = this.options,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- helperIsFunction = $.isFunction( o.helper ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ helperIsFunction = typeof o.helper === "function",
</ins><span class="cx" style="display: block; padding: 0 10px"> helper = helperIsFunction ?
</span><span class="cx" style="display: block; padding: 0 10px"> $( o.helper.apply( this.element[ 0 ], [ event ] ) ) :
</span><span class="cx" style="display: block; padding: 0 10px"> ( o.helper === "clone" ?
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -401,7 +406,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> if ( typeof obj === "string" ) {
</span><span class="cx" style="display: block; padding: 0 10px"> obj = obj.split( " " );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- if ( $.isArray( obj ) ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( Array.isArray( obj ) ) {
</ins><span class="cx" style="display: block; padding: 0 10px"> obj = { left: +obj[ 0 ], top: +obj[ 1 ] || 0 };
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> if ( "left" in obj ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1110,12 +1115,13 @@
</span><span class="cx" style="display: block; padding: 0 10px"> !$.contains( inst.snapElements[ i ].item.ownerDocument,
</span><span class="cx" style="display: block; padding: 0 10px"> inst.snapElements[ i ].item ) ) {
</span><span class="cx" style="display: block; padding: 0 10px"> if ( inst.snapElements[ i ].snapping ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- ( inst.options.snap.release &&
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( inst.options.snap.release ) {
</ins><span class="cx" style="display: block; padding: 0 10px"> inst.options.snap.release.call(
</span><span class="cx" style="display: block; padding: 0 10px"> inst.element,
</span><span class="cx" style="display: block; padding: 0 10px"> event,
</span><span class="cx" style="display: block; padding: 0 10px"> $.extend( inst._uiHash(), { snapItem: inst.snapElements[ i ].item } )
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ );
+ }
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> inst.snapElements[ i ].snapping = false;
</span><span class="cx" style="display: block; padding: 0 10px"> continue;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1186,13 +1192,14 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( !inst.snapElements[ i ].snapping && ( ts || bs || ls || rs || first ) ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- ( inst.options.snap.snap &&
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( inst.options.snap.snap ) {
</ins><span class="cx" style="display: block; padding: 0 10px"> inst.options.snap.snap.call(
</span><span class="cx" style="display: block; padding: 0 10px"> inst.element,
</span><span class="cx" style="display: block; padding: 0 10px"> event,
</span><span class="cx" style="display: block; padding: 0 10px"> $.extend( inst._uiHash(), {
</span><span class="cx" style="display: block; padding: 0 10px"> snapItem: inst.snapElements[ i ].item
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- } ) ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ } ) );
+ }
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> inst.snapElements[ i ].snapping = ( ts || bs || ls || rs || first );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1210,7 +1217,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ( parseInt( $( b ).css( "zIndex" ), 10 ) || 0 );
</span><span class="cx" style="display: block; padding: 0 10px"> } );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- if ( !group.length ) { return; }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( !group.length ) {
+ return;
+ }
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> min = parseInt( $( group[ 0 ] ).css( "zIndex" ), 10 ) || 0;
</span><span class="cx" style="display: block; padding: 0 10px"> $( group ).each( function( i ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1241,4 +1250,4 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> return $.ui.draggable;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-} ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+} );
</ins></span></pre></div>
<a id="trunksrcjs_enqueuesvendorjqueryuidroppablejs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/js/_enqueues/vendor/jquery/ui/droppable.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/vendor/jquery/ui/droppable.js 2021-09-09 22:55:36 UTC (rev 51793)
+++ trunk/src/js/_enqueues/vendor/jquery/ui/droppable.js 2021-09-10 00:01:24 UTC (rev 51794)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,5 +1,5 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /*!
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * jQuery UI Droppable 1.12.1
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * jQuery UI Droppable 1.13.0-rc.2
</ins><span class="cx" style="display: block; padding: 0 10px"> * http://jqueryui.com
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Copyright jQuery Foundation and other contributors
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -14,6 +14,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> //>>demos: http://jqueryui.com/droppable/
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> ( function( factory ) {
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "use strict";
+
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( typeof define === "function" && define.amd ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // AMD. Register as an anonymous module.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -28,10 +30,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // Browser globals
</span><span class="cx" style="display: block; padding: 0 10px"> factory( jQuery );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-}( function( $ ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+} )( function( $ ) {
+"use strict";
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> $.widget( "ui.droppable", {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- version: "1.12.1",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ version: "1.13.0-rc.2",
</ins><span class="cx" style="display: block; padding: 0 10px"> widgetEventPrefix: "drop",
</span><span class="cx" style="display: block; padding: 0 10px"> options: {
</span><span class="cx" style="display: block; padding: 0 10px"> accept: "*",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -56,7 +59,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> this.isover = false;
</span><span class="cx" style="display: block; padding: 0 10px"> this.isout = true;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- this.accept = $.isFunction( accept ) ? accept : function( d ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ this.accept = typeof accept === "function" ? accept : function( d ) {
</ins><span class="cx" style="display: block; padding: 0 10px"> return d.is( accept );
</span><span class="cx" style="display: block; padding: 0 10px"> };
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -79,7 +82,9 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> this._addToManager( o.scope );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- o.addClasses && this._addClass( "ui-droppable" );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( o.addClasses ) {
+ this._addClass( "ui-droppable" );
+ }
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -108,7 +113,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> _setOption: function( key, value ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( key === "accept" ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- this.accept = $.isFunction( value ) ? value : function( d ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ this.accept = typeof value === "function" ? value : function( d ) {
</ins><span class="cx" style="display: block; padding: 0 10px"> return d.is( value );
</span><span class="cx" style="display: block; padding: 0 10px"> };
</span><span class="cx" style="display: block; padding: 0 10px"> } else if ( key === "scope" ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -198,7 +203,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> inst.accept.call(
</span><span class="cx" style="display: block; padding: 0 10px"> inst.element[ 0 ], ( draggable.currentItem || draggable.element )
</span><span class="cx" style="display: block; padding: 0 10px"> ) &&
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- intersect(
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ $.ui.intersect(
</ins><span class="cx" style="display: block; padding: 0 10px"> draggable,
</span><span class="cx" style="display: block; padding: 0 10px"> $.extend( inst, { offset: inst.element.offset() } ),
</span><span class="cx" style="display: block; padding: 0 10px"> inst.options.tolerance, event
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -205,7 +210,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> )
</span><span class="cx" style="display: block; padding: 0 10px"> ) {
</span><span class="cx" style="display: block; padding: 0 10px"> childrenIntersection = true;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- return false; }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ return false;
+ }
</ins><span class="cx" style="display: block; padding: 0 10px"> } );
</span><span class="cx" style="display: block; padding: 0 10px"> if ( childrenIntersection ) {
</span><span class="cx" style="display: block; padding: 0 10px"> return false;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -234,7 +240,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // Extension points just to make backcompat sane and avoid duplicating logic
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // TODO: Remove in 1.13 along with call to it below
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // TODO: Remove in 1.14 along with call to it below
</ins><span class="cx" style="display: block; padding: 0 10px"> _addHoverClass: function() {
</span><span class="cx" style="display: block; padding: 0 10px"> this._addClass( "ui-droppable-hover" );
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -252,7 +258,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> } );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var intersect = $.ui.intersect = ( function() {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+$.ui.intersect = ( function() {
</ins><span class="cx" style="display: block; padding: 0 10px"> function isOverAxis( x, reference, size ) {
</span><span class="cx" style="display: block; padding: 0 10px"> return ( x >= reference ) && ( x < ( reference + size ) );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -360,7 +366,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> return;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> if ( !this.options.disabled && this.visible &&
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- intersect( draggable, this, this.options.tolerance, event ) ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ $.ui.intersect( draggable, this, this.options.tolerance, event ) ) {
</ins><span class="cx" style="display: block; padding: 0 10px"> dropped = this._drop.call( this, event ) || dropped;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -401,7 +407,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> var parentInstance, scope, parent,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- intersects = intersect( draggable, this, this.options.tolerance, event ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ intersects = $.ui.intersect( draggable, this, this.options.tolerance, event ),
</ins><span class="cx" style="display: block; padding: 0 10px"> c = !intersects && this.isover ?
</span><span class="cx" style="display: block; padding: 0 10px"> "isout" :
</span><span class="cx" style="display: block; padding: 0 10px"> ( intersects && !this.isover ? "isover" : null );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -493,4 +499,4 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> return $.ui.droppable;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-} ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+} );
</ins></span></pre></div>
<a id="trunksrcjs_enqueuesvendorjqueryuieffectblindjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/js/_enqueues/vendor/jquery/ui/effect-blind.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/vendor/jquery/ui/effect-blind.js 2021-09-09 22:55:36 UTC (rev 51793)
+++ trunk/src/js/_enqueues/vendor/jquery/ui/effect-blind.js 2021-09-10 00:01:24 UTC (rev 51794)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,5 +1,5 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /*!
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * jQuery UI Effects Blind 1.12.1
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * jQuery UI Effects Blind 1.13.0-rc.2
</ins><span class="cx" style="display: block; padding: 0 10px"> * http://jqueryui.com
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Copyright jQuery Foundation and other contributors
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -14,6 +14,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> //>>demos: http://jqueryui.com/effect/
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> ( function( factory ) {
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "use strict";
+
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( typeof define === "function" && define.amd ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // AMD. Register as an anonymous module.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -26,7 +28,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // Browser globals
</span><span class="cx" style="display: block; padding: 0 10px"> factory( jQuery );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-}( function( $ ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+} )( function( $ ) {
+"use strict";
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> return $.effects.define( "blind", "hide", function( options, done ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var map = {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -66,4 +69,4 @@
</span><span class="cx" style="display: block; padding: 0 10px"> } );
</span><span class="cx" style="display: block; padding: 0 10px"> } );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-} ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+} );
</ins></span></pre></div>
<a id="trunksrcjs_enqueuesvendorjqueryuieffectbouncejs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/js/_enqueues/vendor/jquery/ui/effect-bounce.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/vendor/jquery/ui/effect-bounce.js 2021-09-09 22:55:36 UTC (rev 51793)
+++ trunk/src/js/_enqueues/vendor/jquery/ui/effect-bounce.js 2021-09-10 00:01:24 UTC (rev 51794)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,5 +1,5 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /*!
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * jQuery UI Effects Bounce 1.12.1
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * jQuery UI Effects Bounce 1.13.0-rc.2
</ins><span class="cx" style="display: block; padding: 0 10px"> * http://jqueryui.com
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Copyright jQuery Foundation and other contributors
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -14,6 +14,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> //>>demos: http://jqueryui.com/effect/
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> ( function( factory ) {
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "use strict";
+
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( typeof define === "function" && define.amd ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // AMD. Register as an anonymous module.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -26,7 +28,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // Browser globals
</span><span class="cx" style="display: block; padding: 0 10px"> factory( jQuery );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-}( function( $ ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+} )( function( $ ) {
+"use strict";
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> return $.effects.define( "bounce", function( options, done ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var upAnim, downAnim, refValue,
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -106,4 +109,4 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $.effects.unshift( element, queuelen, anims + 1 );
</span><span class="cx" style="display: block; padding: 0 10px"> } );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-} ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+} );
</ins></span></pre></div>
<a id="trunksrcjs_enqueuesvendorjqueryuieffectclipjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/js/_enqueues/vendor/jquery/ui/effect-clip.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/vendor/jquery/ui/effect-clip.js 2021-09-09 22:55:36 UTC (rev 51793)
+++ trunk/src/js/_enqueues/vendor/jquery/ui/effect-clip.js 2021-09-10 00:01:24 UTC (rev 51794)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,5 +1,5 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /*!
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * jQuery UI Effects Clip 1.12.1
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * jQuery UI Effects Clip 1.13.0-rc.2
</ins><span class="cx" style="display: block; padding: 0 10px"> * http://jqueryui.com
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Copyright jQuery Foundation and other contributors
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -14,6 +14,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> //>>demos: http://jqueryui.com/effect/
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> ( function( factory ) {
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "use strict";
+
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( typeof define === "function" && define.amd ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // AMD. Register as an anonymous module.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -26,7 +28,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // Browser globals
</span><span class="cx" style="display: block; padding: 0 10px"> factory( jQuery );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-}( function( $ ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+} )( function( $ ) {
+"use strict";
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> return $.effects.define( "clip", "hide", function( options, done ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var start,
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -61,4 +64,4 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> } );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-} ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+} );
</ins></span></pre></div>
<a id="trunksrcjs_enqueuesvendorjqueryuieffectdropjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/js/_enqueues/vendor/jquery/ui/effect-drop.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/vendor/jquery/ui/effect-drop.js 2021-09-09 22:55:36 UTC (rev 51793)
+++ trunk/src/js/_enqueues/vendor/jquery/ui/effect-drop.js 2021-09-10 00:01:24 UTC (rev 51794)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,5 +1,5 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /*!
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * jQuery UI Effects Drop 1.12.1
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * jQuery UI Effects Drop 1.13.0-rc.2
</ins><span class="cx" style="display: block; padding: 0 10px"> * http://jqueryui.com
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Copyright jQuery Foundation and other contributors
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -14,6 +14,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> //>>demos: http://jqueryui.com/effect/
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> ( function( factory ) {
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "use strict";
+
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( typeof define === "function" && define.amd ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // AMD. Register as an anonymous module.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -26,7 +28,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // Browser globals
</span><span class="cx" style="display: block; padding: 0 10px"> factory( jQuery );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-}( function( $ ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+} )( function( $ ) {
+"use strict";
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> return $.effects.define( "drop", "hide", function( options, done ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -65,4 +68,4 @@
</span><span class="cx" style="display: block; padding: 0 10px"> } );
</span><span class="cx" style="display: block; padding: 0 10px"> } );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-} ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+} );
</ins></span></pre></div>
<a id="trunksrcjs_enqueuesvendorjqueryuieffectexplodejs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/js/_enqueues/vendor/jquery/ui/effect-explode.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/vendor/jquery/ui/effect-explode.js 2021-09-09 22:55:36 UTC (rev 51793)
+++ trunk/src/js/_enqueues/vendor/jquery/ui/effect-explode.js 2021-09-10 00:01:24 UTC (rev 51794)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,5 +1,5 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /*!
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * jQuery UI Effects Explode 1.12.1
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * jQuery UI Effects Explode 1.13.0-rc.2
</ins><span class="cx" style="display: block; padding: 0 10px"> * http://jqueryui.com
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Copyright jQuery Foundation and other contributors
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -9,13 +9,15 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> //>>label: Explode Effect
</span><span class="cx" style="display: block; padding: 0 10px"> //>>group: Effects
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-// jscs:disable maximumLineLength
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/* eslint-disable max-len */
</ins><span class="cx" style="display: block; padding: 0 10px"> //>>description: Explodes an element in all directions into n pieces. Implodes an element to its original wholeness.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-// jscs:enable maximumLineLength
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/* eslint-enable max-len */
</ins><span class="cx" style="display: block; padding: 0 10px"> //>>docs: http://api.jqueryui.com/explode-effect/
</span><span class="cx" style="display: block; padding: 0 10px"> //>>demos: http://jqueryui.com/effect/
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> ( function( factory ) {
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "use strict";
+
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( typeof define === "function" && define.amd ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // AMD. Register as an anonymous module.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -28,7 +30,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // Browser globals
</span><span class="cx" style="display: block; padding: 0 10px"> factory( jQuery );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-}( function( $ ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+} )( function( $ ) {
+"use strict";
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> return $.effects.define( "explode", "hide", function( options, done ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -107,4 +110,4 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> } );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-} ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+} );
</ins></span></pre></div>
<a id="trunksrcjs_enqueuesvendorjqueryuieffectfadejs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/js/_enqueues/vendor/jquery/ui/effect-fade.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/vendor/jquery/ui/effect-fade.js 2021-09-09 22:55:36 UTC (rev 51793)
+++ trunk/src/js/_enqueues/vendor/jquery/ui/effect-fade.js 2021-09-10 00:01:24 UTC (rev 51794)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,5 +1,5 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /*!
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * jQuery UI Effects Fade 1.12.1
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * jQuery UI Effects Fade 1.13.0-rc.2
</ins><span class="cx" style="display: block; padding: 0 10px"> * http://jqueryui.com
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Copyright jQuery Foundation and other contributors
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -14,6 +14,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> //>>demos: http://jqueryui.com/effect/
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> ( function( factory ) {
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "use strict";
+
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( typeof define === "function" && define.amd ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // AMD. Register as an anonymous module.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -26,7 +28,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // Browser globals
</span><span class="cx" style="display: block; padding: 0 10px"> factory( jQuery );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-}( function( $ ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+} )( function( $ ) {
+"use strict";
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> return $.effects.define( "fade", "toggle", function( options, done ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var show = options.mode === "show";
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -43,4 +46,4 @@
</span><span class="cx" style="display: block; padding: 0 10px"> } );
</span><span class="cx" style="display: block; padding: 0 10px"> } );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-} ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+} );
</ins></span></pre></div>
<a id="trunksrcjs_enqueuesvendorjqueryuieffectfoldjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/js/_enqueues/vendor/jquery/ui/effect-fold.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/vendor/jquery/ui/effect-fold.js 2021-09-09 22:55:36 UTC (rev 51793)
+++ trunk/src/js/_enqueues/vendor/jquery/ui/effect-fold.js 2021-09-10 00:01:24 UTC (rev 51794)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,5 +1,5 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /*!
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * jQuery UI Effects Fold 1.12.1
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * jQuery UI Effects Fold 1.13.0-rc.2
</ins><span class="cx" style="display: block; padding: 0 10px"> * http://jqueryui.com
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Copyright jQuery Foundation and other contributors
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -14,6 +14,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> //>>demos: http://jqueryui.com/effect/
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> ( function( factory ) {
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "use strict";
+
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( typeof define === "function" && define.amd ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // AMD. Register as an anonymous module.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -26,7 +28,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // Browser globals
</span><span class="cx" style="display: block; padding: 0 10px"> factory( jQuery );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-}( function( $ ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+} )( function( $ ) {
+"use strict";
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> return $.effects.define( "fold", "hide", function( options, done ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -85,4 +88,4 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $.effects.unshift( element, queuelen, 4 );
</span><span class="cx" style="display: block; padding: 0 10px"> } );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-} ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+} );
</ins></span></pre></div>
<a id="trunksrcjs_enqueuesvendorjqueryuieffecthighlightjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/js/_enqueues/vendor/jquery/ui/effect-highlight.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/vendor/jquery/ui/effect-highlight.js 2021-09-09 22:55:36 UTC (rev 51793)
+++ trunk/src/js/_enqueues/vendor/jquery/ui/effect-highlight.js 2021-09-10 00:01:24 UTC (rev 51794)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,5 +1,5 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /*!
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * jQuery UI Effects Highlight 1.12.1
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * jQuery UI Effects Highlight 1.13.0-rc.2
</ins><span class="cx" style="display: block; padding: 0 10px"> * http://jqueryui.com
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Copyright jQuery Foundation and other contributors
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -14,6 +14,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> //>>demos: http://jqueryui.com/effect/
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> ( function( factory ) {
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "use strict";
+
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( typeof define === "function" && define.amd ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // AMD. Register as an anonymous module.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -26,7 +28,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // Browser globals
</span><span class="cx" style="display: block; padding: 0 10px"> factory( jQuery );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-}( function( $ ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+} )( function( $ ) {
+"use strict";
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> return $.effects.define( "highlight", "show", function( options, done ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var element = $( this ),
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -53,4 +56,4 @@
</span><span class="cx" style="display: block; padding: 0 10px"> } );
</span><span class="cx" style="display: block; padding: 0 10px"> } );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-} ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+} );
</ins></span></pre></div>
<a id="trunksrcjs_enqueuesvendorjqueryuieffectpuffjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/js/_enqueues/vendor/jquery/ui/effect-puff.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/vendor/jquery/ui/effect-puff.js 2021-09-09 22:55:36 UTC (rev 51793)
+++ trunk/src/js/_enqueues/vendor/jquery/ui/effect-puff.js 2021-09-10 00:01:24 UTC (rev 51794)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,5 +1,5 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /*!
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * jQuery UI Effects Puff 1.12.1
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * jQuery UI Effects Puff 1.13.0-rc.2
</ins><span class="cx" style="display: block; padding: 0 10px"> * http://jqueryui.com
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Copyright jQuery Foundation and other contributors
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -14,6 +14,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> //>>demos: http://jqueryui.com/effect/
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> ( function( factory ) {
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "use strict";
+
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( typeof define === "function" && define.amd ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // AMD. Register as an anonymous module.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -27,7 +29,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // Browser globals
</span><span class="cx" style="display: block; padding: 0 10px"> factory( jQuery );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-}( function( $ ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+} )( function( $ ) {
+"use strict";
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> return $.effects.define( "puff", "hide", function( options, done ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var newOptions = $.extend( true, {}, options, {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -38,4 +41,4 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $.effects.effect.scale.call( this, newOptions, done );
</span><span class="cx" style="display: block; padding: 0 10px"> } );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-} ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+} );
</ins></span></pre></div>
<a id="trunksrcjs_enqueuesvendorjqueryuieffectpulsatejs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/js/_enqueues/vendor/jquery/ui/effect-pulsate.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/vendor/jquery/ui/effect-pulsate.js 2021-09-09 22:55:36 UTC (rev 51793)
+++ trunk/src/js/_enqueues/vendor/jquery/ui/effect-pulsate.js 2021-09-10 00:01:24 UTC (rev 51794)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,5 +1,5 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /*!
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * jQuery UI Effects Pulsate 1.12.1
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * jQuery UI Effects Pulsate 1.13.0-rc.2
</ins><span class="cx" style="display: block; padding: 0 10px"> * http://jqueryui.com
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Copyright jQuery Foundation and other contributors
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -14,6 +14,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> //>>demos: http://jqueryui.com/effect/
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> ( function( factory ) {
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "use strict";
+
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( typeof define === "function" && define.amd ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // AMD. Register as an anonymous module.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -26,7 +28,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // Browser globals
</span><span class="cx" style="display: block; padding: 0 10px"> factory( jQuery );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-}( function( $ ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+} )( function( $ ) {
+"use strict";
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> return $.effects.define( "pulsate", "show", function( options, done ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var element = $( this ),
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -60,4 +63,4 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $.effects.unshift( element, queuelen, anims + 1 );
</span><span class="cx" style="display: block; padding: 0 10px"> } );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-} ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+} );
</ins></span></pre></div>
<a id="trunksrcjs_enqueuesvendorjqueryuieffectscalejs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/js/_enqueues/vendor/jquery/ui/effect-scale.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/vendor/jquery/ui/effect-scale.js 2021-09-09 22:55:36 UTC (rev 51793)
+++ trunk/src/js/_enqueues/vendor/jquery/ui/effect-scale.js 2021-09-10 00:01:24 UTC (rev 51794)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,5 +1,5 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /*!
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * jQuery UI Effects Scale 1.12.1
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * jQuery UI Effects Scale 1.13.0-rc.2
</ins><span class="cx" style="display: block; padding: 0 10px"> * http://jqueryui.com
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Copyright jQuery Foundation and other contributors
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -14,6 +14,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> //>>demos: http://jqueryui.com/effect/
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> ( function( factory ) {
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "use strict";
+
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( typeof define === "function" && define.amd ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // AMD. Register as an anonymous module.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -27,7 +29,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // Browser globals
</span><span class="cx" style="display: block; padding: 0 10px"> factory( jQuery );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-}( function( $ ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+} )( function( $ ) {
+"use strict";
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> return $.effects.define( "scale", function( options, done ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -52,4 +55,4 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $.effects.effect.size.call( this, newOptions, done );
</span><span class="cx" style="display: block; padding: 0 10px"> } );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-} ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+} );
</ins></span></pre></div>
<a id="trunksrcjs_enqueuesvendorjqueryuieffectshakejs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/js/_enqueues/vendor/jquery/ui/effect-shake.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/vendor/jquery/ui/effect-shake.js 2021-09-09 22:55:36 UTC (rev 51793)
+++ trunk/src/js/_enqueues/vendor/jquery/ui/effect-shake.js 2021-09-10 00:01:24 UTC (rev 51794)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,5 +1,5 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /*!
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * jQuery UI Effects Shake 1.12.1
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * jQuery UI Effects Shake 1.13.0-rc.2
</ins><span class="cx" style="display: block; padding: 0 10px"> * http://jqueryui.com
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Copyright jQuery Foundation and other contributors
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -14,6 +14,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> //>>demos: http://jqueryui.com/effect/
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> ( function( factory ) {
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "use strict";
+
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( typeof define === "function" && define.amd ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // AMD. Register as an anonymous module.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -26,7 +28,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // Browser globals
</span><span class="cx" style="display: block; padding: 0 10px"> factory( jQuery );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-}( function( $ ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+} )( function( $ ) {
+"use strict";
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> return $.effects.define( "shake", function( options, done ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -70,4 +73,4 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $.effects.unshift( element, queuelen, anims + 1 );
</span><span class="cx" style="display: block; padding: 0 10px"> } );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-} ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+} );
</ins></span></pre></div>
<a id="trunksrcjs_enqueuesvendorjqueryuieffectsizejs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/js/_enqueues/vendor/jquery/ui/effect-size.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/vendor/jquery/ui/effect-size.js 2021-09-09 22:55:36 UTC (rev 51793)
+++ trunk/src/js/_enqueues/vendor/jquery/ui/effect-size.js 2021-09-10 00:01:24 UTC (rev 51794)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,5 +1,5 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /*!
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * jQuery UI Effects Size 1.12.1
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * jQuery UI Effects Size 1.13.0-rc.2
</ins><span class="cx" style="display: block; padding: 0 10px"> * http://jqueryui.com
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Copyright jQuery Foundation and other contributors
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -14,6 +14,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> //>>demos: http://jqueryui.com/effect/
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> ( function( factory ) {
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "use strict";
+
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( typeof define === "function" && define.amd ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // AMD. Register as an anonymous module.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -26,7 +28,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // Browser globals
</span><span class="cx" style="display: block; padding: 0 10px"> factory( jQuery );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-}( function( $ ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+} )( function( $ ) {
+"use strict";
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> return $.effects.define( "size", function( options, done ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -104,6 +107,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> to.top = ( original.outerHeight - to.outerHeight ) * baseline.y + pos.top;
</span><span class="cx" style="display: block; padding: 0 10px"> to.left = ( original.outerWidth - to.outerWidth ) * baseline.x + pos.left;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ delete from.outerHeight;
+ delete from.outerWidth;
</ins><span class="cx" style="display: block; padding: 0 10px"> element.css( from );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // Animate the children if desired
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -187,4 +192,4 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> } );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-} ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+} );
</ins></span></pre></div>
<a id="trunksrcjs_enqueuesvendorjqueryuieffectslidejs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/js/_enqueues/vendor/jquery/ui/effect-slide.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/vendor/jquery/ui/effect-slide.js 2021-09-09 22:55:36 UTC (rev 51793)
+++ trunk/src/js/_enqueues/vendor/jquery/ui/effect-slide.js 2021-09-10 00:01:24 UTC (rev 51794)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,5 +1,5 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /*!
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * jQuery UI Effects Slide 1.12.1
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * jQuery UI Effects Slide 1.13.0-rc.2
</ins><span class="cx" style="display: block; padding: 0 10px"> * http://jqueryui.com
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Copyright jQuery Foundation and other contributors
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -14,6 +14,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> //>>demos: http://jqueryui.com/effect/
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> ( function( factory ) {
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "use strict";
+
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( typeof define === "function" && define.amd ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // AMD. Register as an anonymous module.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -26,7 +28,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // Browser globals
</span><span class="cx" style="display: block; padding: 0 10px"> factory( jQuery );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-}( function( $ ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+} )( function( $ ) {
+"use strict";
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> return $.effects.define( "slide", "show", function( options, done ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var startClip, startRef,
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -72,4 +75,4 @@
</span><span class="cx" style="display: block; padding: 0 10px"> } );
</span><span class="cx" style="display: block; padding: 0 10px"> } );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-} ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+} );
</ins></span></pre></div>
<a id="trunksrcjs_enqueuesvendorjqueryuieffecttransferjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/js/_enqueues/vendor/jquery/ui/effect-transfer.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/vendor/jquery/ui/effect-transfer.js 2021-09-09 22:55:36 UTC (rev 51793)
+++ trunk/src/js/_enqueues/vendor/jquery/ui/effect-transfer.js 2021-09-10 00:01:24 UTC (rev 51794)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,5 +1,5 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /*!
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * jQuery UI Effects Transfer 1.12.1
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * jQuery UI Effects Transfer 1.13.0-rc.2
</ins><span class="cx" style="display: block; padding: 0 10px"> * http://jqueryui.com
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Copyright jQuery Foundation and other contributors
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -14,6 +14,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> //>>demos: http://jqueryui.com/effect/
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> ( function( factory ) {
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "use strict";
+
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( typeof define === "function" && define.amd ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // AMD. Register as an anonymous module.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -26,7 +28,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // Browser globals
</span><span class="cx" style="display: block; padding: 0 10px"> factory( jQuery );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-}( function( $ ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+} )( function( $ ) {
+"use strict";
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> var effect;
</span><span class="cx" style="display: block; padding: 0 10px"> if ( $.uiBackCompat !== false ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -36,4 +39,4 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> return effect;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-} ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+} );
</ins></span></pre></div>
<a id="trunksrcjs_enqueuesvendorjqueryuieffectjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/js/_enqueues/vendor/jquery/ui/effect.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/vendor/jquery/ui/effect.js 2021-09-09 22:55:36 UTC (rev 51793)
+++ trunk/src/js/_enqueues/vendor/jquery/ui/effect.js 2021-09-10 00:01:24 UTC (rev 51794)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,5 +1,5 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /*!
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * jQuery UI Effects 1.12.1
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * jQuery UI Effects 1.13.0-rc.2
</ins><span class="cx" style="display: block; padding: 0 10px"> * http://jqueryui.com
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Copyright jQuery Foundation and other contributors
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -9,13 +9,15 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> //>>label: Effects Core
</span><span class="cx" style="display: block; padding: 0 10px"> //>>group: Effects
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-// jscs:disable maximumLineLength
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/* eslint-disable max-len */
</ins><span class="cx" style="display: block; padding: 0 10px"> //>>description: Extends the internal jQuery effects. Includes morphing and easing. Required by all other effects.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-// jscs:enable maximumLineLength
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/* eslint-enable max-len */
</ins><span class="cx" style="display: block; padding: 0 10px"> //>>docs: http://api.jqueryui.com/category/effects-core/
</span><span class="cx" style="display: block; padding: 0 10px"> //>>demos: http://jqueryui.com/effect/
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> ( function( factory ) {
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "use strict";
+
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( typeof define === "function" && define.amd ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // AMD. Register as an anonymous module.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -25,43 +27,42 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // Browser globals
</span><span class="cx" style="display: block; padding: 0 10px"> factory( jQuery );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-}( function( $ ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+} )( function( $ ) {
+"use strict";
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // Include version.js
</span><span class="cx" style="display: block; padding: 0 10px"> $.ui = $.ui || {};
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-$.ui.version = "1.12.1";
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+$.ui.version = "1.13.0-rc.2";
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-var dataSpace = "ui-effects-",
- dataSpaceStyle = "ui-effects-style",
- dataSpaceAnimated = "ui-effects-animated",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+// Source: jquery-var-for-color.js
+// Create a local jQuery because jQuery Color relies on it and the
+// global may not exist with AMD and a custom build (#10199).
+// This module is a noop if used as a regular AMD module.
+// eslint-disable-next-line no-unused-vars
+var jQuery = $;
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // Create a local jQuery because jQuery Color relies on it and the
- // global may not exist with AMD and a custom build (#10199)
- jQuery = $;
</del><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-$.effects = {
- effect: {}
-};
-
</del><span class="cx" style="display: block; padding: 0 10px"> /*!
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * jQuery Color Animations v2.1.2
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * jQuery Color Animations v2.2.0
</ins><span class="cx" style="display: block; padding: 0 10px"> * https://github.com/jquery/jquery-color
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * Copyright 2014 jQuery Foundation and other contributors
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Copyright OpenJS Foundation and other contributors
</ins><span class="cx" style="display: block; padding: 0 10px"> * Released under the MIT license.
</span><span class="cx" style="display: block; padding: 0 10px"> * http://jquery.org/license
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * Date: Wed Jan 16 08:47:09 2013 -0600
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Date: Sun May 10 09:02:36 2020 +0200
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-( function( jQuery, undefined ) {
</del><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> var stepHooks = "backgroundColor borderBottomColor borderLeftColor borderRightColor " +
</span><span class="cx" style="display: block; padding: 0 10px"> "borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor",
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // Plusequals test for += 100 -= 100
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ class2type = {},
+ toString = class2type.toString,
+
+ // plusequals test for += 100 -= 100
</ins><span class="cx" style="display: block; padding: 0 10px"> rplusequals = /^([\-+])=\s*(\d+\.?\d*)/,
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // A set of RE's that can match strings and generate color tuples.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // a set of RE's that can match strings and generate color tuples.
</ins><span class="cx" style="display: block; padding: 0 10px"> stringParsers = [ {
</span><span class="cx" style="display: block; padding: 0 10px"> re: /rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,
</span><span class="cx" style="display: block; padding: 0 10px"> parse: function( execResult ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -84,24 +85,31 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }, {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // This regex ignores A-F because it's compared against an already lowercased string
- re: /#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // this regex ignores A-F because it's compared against an already lowercased string
+ re: /#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})?/,
</ins><span class="cx" style="display: block; padding: 0 10px"> parse: function( execResult ) {
</span><span class="cx" style="display: block; padding: 0 10px"> return [
</span><span class="cx" style="display: block; padding: 0 10px"> parseInt( execResult[ 1 ], 16 ),
</span><span class="cx" style="display: block; padding: 0 10px"> parseInt( execResult[ 2 ], 16 ),
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- parseInt( execResult[ 3 ], 16 )
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ parseInt( execResult[ 3 ], 16 ),
+ execResult[ 4 ] ?
+ ( parseInt( execResult[ 4 ], 16 ) / 255 ).toFixed( 2 ) :
+ 1
</ins><span class="cx" style="display: block; padding: 0 10px"> ];
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }, {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // This regex ignores A-F because it's compared against an already lowercased string
- re: /#([a-f0-9])([a-f0-9])([a-f0-9])/,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // this regex ignores A-F because it's compared against an already lowercased string
+ re: /#([a-f0-9])([a-f0-9])([a-f0-9])([a-f0-9])?/,
</ins><span class="cx" style="display: block; padding: 0 10px"> parse: function( execResult ) {
</span><span class="cx" style="display: block; padding: 0 10px"> return [
</span><span class="cx" style="display: block; padding: 0 10px"> parseInt( execResult[ 1 ] + execResult[ 1 ], 16 ),
</span><span class="cx" style="display: block; padding: 0 10px"> parseInt( execResult[ 2 ] + execResult[ 2 ], 16 ),
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- parseInt( execResult[ 3 ] + execResult[ 3 ], 16 )
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ parseInt( execResult[ 3 ] + execResult[ 3 ], 16 ),
+ execResult[ 4 ] ?
+ ( parseInt( execResult[ 4 ] + execResult[ 4 ], 16 ) / 255 )
+ .toFixed( 2 ) :
+ 1
</ins><span class="cx" style="display: block; padding: 0 10px"> ];
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }, {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -117,7 +125,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> } ],
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // JQuery.Color( )
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // jQuery.Color( )
</ins><span class="cx" style="display: block; padding: 0 10px"> color = jQuery.Color = function( color, green, blue, alpha ) {
</span><span class="cx" style="display: block; padding: 0 10px"> return new jQuery.Color.fn.parse( color, green, blue, alpha );
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -171,20 +179,20 @@
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> support = color.support = {},
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // Element for support tests
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // element for support tests
</ins><span class="cx" style="display: block; padding: 0 10px"> supportElem = jQuery( "<p>" )[ 0 ],
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // Colors = jQuery.Color.names
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // colors = jQuery.Color.names
</ins><span class="cx" style="display: block; padding: 0 10px"> colors,
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // Local aliases of functions called often
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // local aliases of functions called often
</ins><span class="cx" style="display: block; padding: 0 10px"> each = jQuery.each;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-// Determine rgba support immediately
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+// determine rgba support immediately
</ins><span class="cx" style="display: block; padding: 0 10px"> supportElem.style.cssText = "background-color:rgba(1,1,1,.5)";
</span><span class="cx" style="display: block; padding: 0 10px"> support.rgba = supportElem.style.backgroundColor.indexOf( "rgba" ) > -1;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-// Define cache name and alpha properties
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+// define cache name and alpha properties
</ins><span class="cx" style="display: block; padding: 0 10px"> // for rgba and hsla spaces
</span><span class="cx" style="display: block; padding: 0 10px"> each( spaces, function( spaceName, space ) {
</span><span class="cx" style="display: block; padding: 0 10px"> space.cache = "_" + spaceName;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -195,6 +203,22 @@
</span><span class="cx" style="display: block; padding: 0 10px"> };
</span><span class="cx" style="display: block; padding: 0 10px"> } );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+// Populate the class2type map
+jQuery.each( "Boolean Number String Function Array Date RegExp Object Error Symbol".split( " " ),
+ function( _i, name ) {
+ class2type[ "[object " + name + "]" ] = name.toLowerCase();
+ } );
+
+function getType( obj ) {
+ if ( obj == null ) {
+ return obj + "";
+ }
+
+ return typeof obj === "object" ?
+ class2type[ toString.call( obj ) ] || "object" :
+ typeof obj;
+}
+
</ins><span class="cx" style="display: block; padding: 0 10px"> function clamp( value, prop, allowEmpty ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var type = propTypes[ prop.type ] || {};
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -213,13 +237,13 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( type.mod ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // We add mod before modding to make sure that negatives values
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // we add mod before modding to make sure that negatives values
</ins><span class="cx" style="display: block; padding: 0 10px"> // get converted properly: -10 -> 350
</span><span class="cx" style="display: block; padding: 0 10px"> return ( value + type.mod ) % type.mod;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // For now all property types without mod have min and max
- return 0 > value ? 0 : type.max < value ? type.max : value;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // for now all property types without mod have min and max
+ return Math.min( type.max, Math.max( 0, value ) );
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> function stringParse( string ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -228,7 +252,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> string = string.toLowerCase();
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- each( stringParsers, function( i, parser ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ each( stringParsers, function( _i, parser ) {
</ins><span class="cx" style="display: block; padding: 0 10px"> var parsed,
</span><span class="cx" style="display: block; padding: 0 10px"> match = parser.re.exec( string ),
</span><span class="cx" style="display: block; padding: 0 10px"> values = match && parser.parse( match ),
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -237,12 +261,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> if ( values ) {
</span><span class="cx" style="display: block; padding: 0 10px"> parsed = inst[ spaceName ]( values );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // If this was an rgba parse the assignment might happen twice
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // if this was an rgba parse the assignment might happen twice
</ins><span class="cx" style="display: block; padding: 0 10px"> // oh well....
</span><span class="cx" style="display: block; padding: 0 10px"> inst[ spaces[ spaceName ].cache ] = parsed[ spaces[ spaceName ].cache ];
</span><span class="cx" style="display: block; padding: 0 10px"> rgba = inst._rgba = parsed._rgba;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // Exit each( stringParsers ) here because we matched
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // exit each( stringParsers ) here because we matched
</ins><span class="cx" style="display: block; padding: 0 10px"> return false;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> } );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -250,7 +274,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // Found a stringParser that handled it
</span><span class="cx" style="display: block; padding: 0 10px"> if ( rgba.length ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // If this came from a parsed string, force "transparent" when alpha is 0
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // if this came from a parsed string, force "transparent" when alpha is 0
</ins><span class="cx" style="display: block; padding: 0 10px"> // chrome, (and maybe others) return "transparent" as rgba(0,0,0,0)
</span><span class="cx" style="display: block; padding: 0 10px"> if ( rgba.join() === "0,0,0,0" ) {
</span><span class="cx" style="display: block; padding: 0 10px"> jQuery.extend( rgba, colors.transparent );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -258,7 +282,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> return inst;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // Named colors
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // named colors
</ins><span class="cx" style="display: block; padding: 0 10px"> return colors[ string ];
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -274,10 +298,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> var inst = this,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- type = jQuery.type( red ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ type = getType( red ),
</ins><span class="cx" style="display: block; padding: 0 10px"> rgba = this._rgba = [];
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // More than 1 argument specified - assume ( red, green, blue, alpha )
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // more than 1 argument specified - assume ( red, green, blue, alpha )
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( green !== undefined ) {
</span><span class="cx" style="display: block; padding: 0 10px"> red = [ red, green, blue, alpha ];
</span><span class="cx" style="display: block; padding: 0 10px"> type = "array";
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -288,7 +312,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( type === "array" ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- each( spaces.rgba.props, function( key, prop ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ each( spaces.rgba.props, function( _key, prop ) {
</ins><span class="cx" style="display: block; padding: 0 10px"> rgba[ prop.idx ] = clamp( red[ prop.idx ], prop );
</span><span class="cx" style="display: block; padding: 0 10px"> } );
</span><span class="cx" style="display: block; padding: 0 10px"> return this;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -296,20 +320,20 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( type === "object" ) {
</span><span class="cx" style="display: block; padding: 0 10px"> if ( red instanceof color ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- each( spaces, function( spaceName, space ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ each( spaces, function( _spaceName, space ) {
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( red[ space.cache ] ) {
</span><span class="cx" style="display: block; padding: 0 10px"> inst[ space.cache ] = red[ space.cache ].slice();
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> } );
</span><span class="cx" style="display: block; padding: 0 10px"> } else {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- each( spaces, function( spaceName, space ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ each( spaces, function( _spaceName, space ) {
</ins><span class="cx" style="display: block; padding: 0 10px"> var cache = space.cache;
</span><span class="cx" style="display: block; padding: 0 10px"> each( space.props, function( key, prop ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // If the cache doesn't exist, and we know how to convert
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // if the cache doesn't exist, and we know how to convert
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( !inst[ cache ] && space.to ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // If the value was null, we don't need to copy it
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // if the value was null, we don't need to copy it
</ins><span class="cx" style="display: block; padding: 0 10px"> // if the key was alpha, we don't need to copy it either
</span><span class="cx" style="display: block; padding: 0 10px"> if ( key === "alpha" || red[ key ] == null ) {
</span><span class="cx" style="display: block; padding: 0 10px"> return;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -317,17 +341,19 @@
</span><span class="cx" style="display: block; padding: 0 10px"> inst[ cache ] = space.to( inst._rgba );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // This is the only case where we allow nulls for ALL properties.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // this is the only case where we allow nulls for ALL properties.
</ins><span class="cx" style="display: block; padding: 0 10px"> // call clamp with alwaysAllowEmpty
</span><span class="cx" style="display: block; padding: 0 10px"> inst[ cache ][ prop.idx ] = clamp( red[ key ], prop, true );
</span><span class="cx" style="display: block; padding: 0 10px"> } );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // Everything defined but alpha?
- if ( inst[ cache ] &&
- jQuery.inArray( null, inst[ cache ].slice( 0, 3 ) ) < 0 ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // everything defined but alpha?
+ if ( inst[ cache ] && jQuery.inArray( null, inst[ cache ].slice( 0, 3 ) ) < 0 ) {
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // Use the default of 1
- inst[ cache ][ 3 ] = 1;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // use the default of 1
+ if ( inst[ cache ][ 3 ] == null ) {
+ inst[ cache ][ 3 ] = 1;
+ }
+
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( space.from ) {
</span><span class="cx" style="display: block; padding: 0 10px"> inst._rgba = space.from( inst[ cache ] );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -377,18 +403,18 @@
</span><span class="cx" style="display: block; padding: 0 10px"> result = start.slice();
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> end = end[ space.cache ];
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- each( space.props, function( key, prop ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ each( space.props, function( _key, prop ) {
</ins><span class="cx" style="display: block; padding: 0 10px"> var index = prop.idx,
</span><span class="cx" style="display: block; padding: 0 10px"> startValue = start[ index ],
</span><span class="cx" style="display: block; padding: 0 10px"> endValue = end[ index ],
</span><span class="cx" style="display: block; padding: 0 10px"> type = propTypes[ prop.type ] || {};
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // If null, don't override start value
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // if null, don't override start value
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( endValue === null ) {
</span><span class="cx" style="display: block; padding: 0 10px"> return;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // If null - use end
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // if null - use end
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( startValue === null ) {
</span><span class="cx" style="display: block; padding: 0 10px"> result[ index ] = endValue;
</span><span class="cx" style="display: block; padding: 0 10px"> } else {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -406,7 +432,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> blend: function( opaque ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // If we are already opaque - return ourself
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // if we are already opaque - return ourself
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( this._rgba[ 3 ] === 1 ) {
</span><span class="cx" style="display: block; padding: 0 10px"> return this;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -422,7 +448,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> toRgbaString: function() {
</span><span class="cx" style="display: block; padding: 0 10px"> var prefix = "rgba(",
</span><span class="cx" style="display: block; padding: 0 10px"> rgba = jQuery.map( this._rgba, function( v, i ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- return v == null ? ( i > 2 ? 1 : 0 ) : v;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( v != null ) {
+ return v;
+ }
+ return i > 2 ? 1 : 0;
</ins><span class="cx" style="display: block; padding: 0 10px"> } );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( rgba[ 3 ] === 1 ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -439,7 +468,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> v = i > 2 ? 1 : 0;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // Catch 1 and 2
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // catch 1 and 2
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( i && i < 3 ) {
</span><span class="cx" style="display: block; padding: 0 10px"> v = Math.round( v * 100 ) + "%";
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -462,7 +491,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> return "#" + jQuery.map( rgba, function( v ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // Default to 0 when nulls exist
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // default to 0 when nulls exist
</ins><span class="cx" style="display: block; padding: 0 10px"> v = ( v || 0 ).toString( 16 );
</span><span class="cx" style="display: block; padding: 0 10px"> return v.length === 1 ? "0" + v : v;
</span><span class="cx" style="display: block; padding: 0 10px"> } ).join( "" );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -473,7 +502,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> } );
</span><span class="cx" style="display: block; padding: 0 10px"> color.fn.parse.prototype = color.fn;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-// Hsla conversions adapted from:
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+// hsla conversions adapted from:
</ins><span class="cx" style="display: block; padding: 0 10px"> // https://code.google.com/p/maashaack/source/browse/packages/graphics/trunk/src/graphics/colors/HUE2RGB.as?r=5021
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> function hue2rgb( p, q, h ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -515,7 +544,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> h = ( 60 * ( r - g ) / diff ) + 240;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // Chroma (diff) == 0 means greyscale which, by definition, saturation = 0%
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // chroma (diff) == 0 means greyscale which, by definition, saturation = 0%
</ins><span class="cx" style="display: block; padding: 0 10px"> // otherwise, saturation is based on the ratio of chroma (diff) to lightness (add)
</span><span class="cx" style="display: block; padding: 0 10px"> if ( diff === 0 ) {
</span><span class="cx" style="display: block; padding: 0 10px"> s = 0;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -546,6 +575,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ];
</span><span class="cx" style="display: block; padding: 0 10px"> };
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px"> each( spaces, function( spaceName, space ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var props = space.props,
</span><span class="cx" style="display: block; padding: 0 10px"> cache = space.cache,
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -552,10 +582,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> to = space.to,
</span><span class="cx" style="display: block; padding: 0 10px"> from = space.from;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // Makes rgba() and hsla()
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // makes rgba() and hsla()
</ins><span class="cx" style="display: block; padding: 0 10px"> color.fn[ spaceName ] = function( value ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // Generate a cache for this space if it doesn't exist
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // generate a cache for this space if it doesn't exist
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( to && !this[ cache ] ) {
</span><span class="cx" style="display: block; padding: 0 10px"> this[ cache ] = to( this._rgba );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -564,7 +594,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> var ret,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- type = jQuery.type( value ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ type = getType( value ),
</ins><span class="cx" style="display: block; padding: 0 10px"> arr = ( type === "array" || type === "object" ) ? value : arguments,
</span><span class="cx" style="display: block; padding: 0 10px"> local = this[ cache ].slice();
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -585,20 +615,25 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> };
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // Makes red() green() blue() alpha() hue() saturation() lightness()
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // makes red() green() blue() alpha() hue() saturation() lightness()
</ins><span class="cx" style="display: block; padding: 0 10px"> each( props, function( key, prop ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // Alpha is included in more than one space
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // alpha is included in more than one space
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( color.fn[ key ] ) {
</span><span class="cx" style="display: block; padding: 0 10px"> return;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> color.fn[ key ] = function( value ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- var vtype = jQuery.type( value ),
- fn = ( key === "alpha" ? ( this._hsla ? "hsla" : "rgba" ) : spaceName ),
- local = this[ fn ](),
- cur = local[ prop.idx ],
- match;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ var local, cur, match, fn,
+ vtype = getType( value );
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( key === "alpha" ) {
+ fn = this._hsla ? "hsla" : "rgba";
+ } else {
+ fn = spaceName;
+ }
+ local = this[ fn ]();
+ cur = local[ prop.idx ];
+
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( vtype === "undefined" ) {
</span><span class="cx" style="display: block; padding: 0 10px"> return cur;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -605,7 +640,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( vtype === "function" ) {
</span><span class="cx" style="display: block; padding: 0 10px"> value = value.call( this, cur );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- vtype = jQuery.type( value );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ vtype = getType( value );
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> if ( value == null && prop.empty ) {
</span><span class="cx" style="display: block; padding: 0 10px"> return this;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -622,18 +657,17 @@
</span><span class="cx" style="display: block; padding: 0 10px"> } );
</span><span class="cx" style="display: block; padding: 0 10px"> } );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-// Add cssHook and .fx.step function for each named hook.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+// add cssHook and .fx.step function for each named hook.
</ins><span class="cx" style="display: block; padding: 0 10px"> // accept a space separated string of properties
</span><span class="cx" style="display: block; padding: 0 10px"> color.hook = function( hook ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var hooks = hook.split( " " );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- each( hooks, function( i, hook ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ each( hooks, function( _i, hook ) {
</ins><span class="cx" style="display: block; padding: 0 10px"> jQuery.cssHooks[ hook ] = {
</span><span class="cx" style="display: block; padding: 0 10px"> set: function( elem, value ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var parsed, curElem,
</span><span class="cx" style="display: block; padding: 0 10px"> backgroundColor = "";
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- if ( value !== "transparent" && ( jQuery.type( value ) !== "string" ||
- ( parsed = stringParse( value ) ) ) ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( value !== "transparent" && ( getType( value ) !== "string" || ( parsed = stringParse( value ) ) ) ) {
</ins><span class="cx" style="display: block; padding: 0 10px"> value = color( parsed || value );
</span><span class="cx" style="display: block; padding: 0 10px"> if ( !support.rgba && value._rgba[ 3 ] !== 1 ) {
</span><span class="cx" style="display: block; padding: 0 10px"> curElem = hook === "backgroundColor" ? elem.parentNode : elem;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -659,8 +693,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> elem.style[ hook ] = value;
</span><span class="cx" style="display: block; padding: 0 10px"> } catch ( e ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // Wrapped to prevent IE from throwing errors on "invalid" values like
- // 'auto' or 'inherit'
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // wrapped to prevent IE from throwing errors on "invalid" values like 'auto' or 'inherit'
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> };
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -682,7 +715,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> expand: function( value ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var expanded = {};
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- each( [ "Top", "Right", "Bottom", "Left" ], function( i, part ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ each( [ "Top", "Right", "Bottom", "Left" ], function( _i, part ) {
</ins><span class="cx" style="display: block; padding: 0 10px"> expanded[ "border" + part + "Color" ] = value;
</span><span class="cx" style="display: block; padding: 0 10px"> } );
</span><span class="cx" style="display: block; padding: 0 10px"> return expanded;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -718,8 +751,15 @@
</span><span class="cx" style="display: block; padding: 0 10px"> _default: "#ffffff"
</span><span class="cx" style="display: block; padding: 0 10px"> };
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-} )( jQuery );
</del><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+var dataSpace = "ui-effects-",
+ dataSpaceStyle = "ui-effects-style",
+ dataSpaceAnimated = "ui-effects-animated";
+
+$.effects = {
+ effect: {}
+};
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /******************************************************************************/
</span><span class="cx" style="display: block; padding: 0 10px"> /****************************** CLASS ANIMATIONS ******************************/
</span><span class="cx" style="display: block; padding: 0 10px"> /******************************************************************************/
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -750,6 +790,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+function camelCase( string ) {
+ return string.replace( /-([\da-z])/gi, function( all, letter ) {
+ return letter.toUpperCase();
+ } );
+}
+
</ins><span class="cx" style="display: block; padding: 0 10px"> function getElementStyles( elem ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var key, len,
</span><span class="cx" style="display: block; padding: 0 10px"> style = elem.ownerDocument.defaultView ?
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -762,7 +808,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> while ( len-- ) {
</span><span class="cx" style="display: block; padding: 0 10px"> key = style[ len ];
</span><span class="cx" style="display: block; padding: 0 10px"> if ( typeof style[ key ] === "string" ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- styles[ $.camelCase( key ) ] = style[ key ];
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ styles[ camelCase( key ) ] = style[ key ];
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -936,12 +982,12 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> ( function() {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-if ( $.expr && $.expr.filters && $.expr.filters.animated ) {
- $.expr.filters.animated = ( function( orig ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+if ( $.expr && $.expr.pseudos && $.expr.pseudos.animated ) {
+ $.expr.pseudos.animated = ( function( orig ) {
</ins><span class="cx" style="display: block; padding: 0 10px"> return function( elem ) {
</span><span class="cx" style="display: block; padding: 0 10px"> return !!$( elem ).data( dataSpaceAnimated ) || orig( elem );
</span><span class="cx" style="display: block; padding: 0 10px"> };
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- } )( $.expr.filters.animated );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ } )( $.expr.pseudos.animated );
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( $.uiBackCompat !== false ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1010,6 +1056,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // Firefox incorrectly exposes anonymous content
</span><span class="cx" style="display: block; padding: 0 10px"> // https://bugzilla.mozilla.org/show_bug.cgi?id=561664
</span><span class="cx" style="display: block; padding: 0 10px"> try {
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // eslint-disable-next-line no-unused-expressions
</ins><span class="cx" style="display: block; padding: 0 10px"> active.id;
</span><span class="cx" style="display: block; padding: 0 10px"> } catch ( e ) {
</span><span class="cx" style="display: block; padding: 0 10px"> active = document.body;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1072,7 +1119,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> $.extend( $.effects, {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- version: "1.12.1",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ version: "1.13.0-rc.2",
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> define: function( name, mode, effect ) {
</span><span class="cx" style="display: block; padding: 0 10px"> if ( !effect ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1288,7 +1335,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // Catch (effect, callback)
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- if ( $.isFunction( options ) ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( typeof options === "function" ) {
</ins><span class="cx" style="display: block; padding: 0 10px"> callback = options;
</span><span class="cx" style="display: block; padding: 0 10px"> speed = null;
</span><span class="cx" style="display: block; padding: 0 10px"> options = {};
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1302,7 +1349,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // Catch (effect, options, callback)
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- if ( $.isFunction( speed ) ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( typeof speed === "function" ) {
</ins><span class="cx" style="display: block; padding: 0 10px"> callback = speed;
</span><span class="cx" style="display: block; padding: 0 10px"> speed = null;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1336,7 +1383,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // Complete callback
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- if ( $.isFunction( option ) ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( typeof option === "function" ) {
</ins><span class="cx" style="display: block; padding: 0 10px"> return true;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1363,7 +1410,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> var el = $( this ),
</span><span class="cx" style="display: block; padding: 0 10px"> normalizedMode = $.effects.mode( el, mode ) || defaultMode;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // Sentinel for duck-punching the :animated psuedo-selector
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // Sentinel for duck-punching the :animated pseudo-selector
</ins><span class="cx" style="display: block; padding: 0 10px"> el.data( dataSpaceAnimated, true );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // Save effect mode for later use,
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1371,7 +1418,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // as the .show() below destroys the initial state
</span><span class="cx" style="display: block; padding: 0 10px"> modes.push( normalizedMode );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // See $.uiBackCompat inside of run() for removal of defaultMode in 1.13
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // See $.uiBackCompat inside of run() for removal of defaultMode in 1.14
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( defaultMode && ( normalizedMode === "show" ||
</span><span class="cx" style="display: block; padding: 0 10px"> ( normalizedMode === defaultMode && normalizedMode === "hide" ) ) ) {
</span><span class="cx" style="display: block; padding: 0 10px"> el.show();
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1381,7 +1428,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $.effects.saveStyle( el );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- if ( $.isFunction( next ) ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( typeof next === "function" ) {
</ins><span class="cx" style="display: block; padding: 0 10px"> next();
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> };
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1416,11 +1463,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> function done() {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- if ( $.isFunction( complete ) ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( typeof complete === "function" ) {
</ins><span class="cx" style="display: block; padding: 0 10px"> complete.call( elem[ 0 ] );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- if ( $.isFunction( next ) ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( typeof next === "function" ) {
</ins><span class="cx" style="display: block; padding: 0 10px"> next();
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1529,22 +1576,24 @@
</span><span class="cx" style="display: block; padding: 0 10px"> width: target.innerWidth()
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> startPosition = element.offset(),
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- transfer = $( "<div class='ui-effects-transfer'></div>" )
- .appendTo( "body" )
- .addClass( options.className )
- .css( {
- top: startPosition.top - fixTop,
- left: startPosition.left - fixLeft,
- height: element.innerHeight(),
- width: element.innerWidth(),
- position: targetFixed ? "fixed" : "absolute"
- } )
- .animate( animation, options.duration, options.easing, function() {
- transfer.remove();
- if ( $.isFunction( done ) ) {
- done();
- }
- } );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ transfer = $( "<div class='ui-effects-transfer'></div>" );
+
+ transfer
+ .appendTo( "body" )
+ .addClass( options.className )
+ .css( {
+ top: startPosition.top - fixTop,
+ left: startPosition.left - fixLeft,
+ height: element.innerHeight(),
+ width: element.innerWidth(),
+ position: targetFixed ? "fixed" : "absolute"
+ } )
+ .animate( animation, options.duration, options.easing, function() {
+ transfer.remove();
+ if ( typeof done === "function" ) {
+ done();
+ }
+ } );
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> } );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1636,4 +1685,4 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> return $.effects;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-} ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+} );
</ins></span></pre></div>
<a id="trunksrcjs_enqueuesvendorjqueryuimenujs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/js/_enqueues/vendor/jquery/ui/menu.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/vendor/jquery/ui/menu.js 2021-09-09 22:55:36 UTC (rev 51793)
+++ trunk/src/js/_enqueues/vendor/jquery/ui/menu.js 2021-09-10 00:01:24 UTC (rev 51794)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,5 +1,5 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /*!
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * jQuery UI Menu 1.12.1
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * jQuery UI Menu 1.13.0-rc.2
</ins><span class="cx" style="display: block; padding: 0 10px"> * http://jqueryui.com
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Copyright jQuery Foundation and other contributors
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -17,6 +17,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> //>>css.theme: ../../themes/base/theme.css
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> ( function( factory ) {
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "use strict";
+
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( typeof define === "function" && define.amd ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // AMD. Register as an anonymous module.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -29,10 +31,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // Browser globals
</span><span class="cx" style="display: block; padding: 0 10px"> factory( jQuery );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-}( function( $ ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+} )( function( $ ) {
+"use strict";
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> return $.widget( "ui.menu", {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- version: "1.12.1",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ version: "1.13.0-rc.2",
</ins><span class="cx" style="display: block; padding: 0 10px"> defaultElement: "<ul>",
</span><span class="cx" style="display: block; padding: 0 10px"> delay: 300,
</span><span class="cx" style="display: block; padding: 0 10px"> options: {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -59,6 +62,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // Flag used to prevent firing of the click handler
</span><span class="cx" style="display: block; padding: 0 10px"> // as the event bubbles up through nested menus
</span><span class="cx" style="display: block; padding: 0 10px"> this.mouseHandled = false;
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ this.lastMousePosition = { x: null, y: null };
</ins><span class="cx" style="display: block; padding: 0 10px"> this.element
</span><span class="cx" style="display: block; padding: 0 10px"> .uniqueId()
</span><span class="cx" style="display: block; padding: 0 10px"> .attr( {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -73,6 +77,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // them (focus should always stay on UL during navigation).
</span><span class="cx" style="display: block; padding: 0 10px"> "mousedown .ui-menu-item": function( event ) {
</span><span class="cx" style="display: block; padding: 0 10px"> event.preventDefault();
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
+ this._activateItem( event );
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "click .ui-menu-item": function( event ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var target = $( event.target );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -102,29 +108,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "mouseenter .ui-menu-item": function( event ) {
-
- // Ignore mouse events while typeahead is active, see #10458.
- // Prevents focusing the wrong item when typeahead causes a scroll while the mouse
- // is over an item in the menu
- if ( this.previousFilter ) {
- return;
- }
-
- var actualTarget = $( event.target ).closest( ".ui-menu-item" ),
- target = $( event.currentTarget );
-
- // Ignore bubbled events on parent items, see #11641
- if ( actualTarget[ 0 ] !== target[ 0 ] ) {
- return;
- }
-
- // Remove ui-state-active class from siblings of the newly focused menu item
- // to avoid a jump caused by adjacent elements both having a class with a border
- this._removeClass( target.siblings().children( ".ui-state-active" ),
- null, "ui-state-active" );
- this.focus( event, target );
- },
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "mouseenter .ui-menu-item": "_activateItem",
+ "mousemove .ui-menu-item": "_activateItem",
</ins><span class="cx" style="display: block; padding: 0 10px"> mouseleave: "collapseAll",
</span><span class="cx" style="display: block; padding: 0 10px"> "mouseleave .ui-menu": "collapseAll",
</span><span class="cx" style="display: block; padding: 0 10px"> focus: function( event, keepActiveItem ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -131,7 +116,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // If there's already an active item, keep it active
</span><span class="cx" style="display: block; padding: 0 10px"> // If not, activate the first item
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- var item = this.active || this.element.find( this.options.items ).eq( 0 );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ var item = this.active || this._menuItems().first();
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( !keepActiveItem ) {
</span><span class="cx" style="display: block; padding: 0 10px"> this.focus( event, item );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -157,7 +142,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> this._on( this.document, {
</span><span class="cx" style="display: block; padding: 0 10px"> click: function( event ) {
</span><span class="cx" style="display: block; padding: 0 10px"> if ( this._closeOnDocumentClick( event ) ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- this.collapseAll( event );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ this.collapseAll( event, true );
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // Reset the mouseHandled flag
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -166,6 +151,46 @@
</span><span class="cx" style="display: block; padding: 0 10px"> } );
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ _activateItem: function( event ) {
+
+ // Ignore mouse events while typeahead is active, see #10458.
+ // Prevents focusing the wrong item when typeahead causes a scroll while the mouse
+ // is over an item in the menu
+ if ( this.previousFilter ) {
+ return;
+ }
+
+ // If the mouse didn't actually move, but the page was scrolled, ignore the event (#9356)
+ if ( event.clientX === this.lastMousePosition.x &&
+ event.clientY === this.lastMousePosition.y ) {
+ return;
+ }
+
+ this.lastMousePosition = {
+ x: event.clientX,
+ y: event.clientY
+ };
+
+ var actualTarget = $( event.target ).closest( ".ui-menu-item" ),
+ target = $( event.currentTarget );
+
+ // Ignore bubbled events on parent items, see #11641
+ if ( actualTarget[ 0 ] !== target[ 0 ] ) {
+ return;
+ }
+
+ // If the item is already active, there's nothing to do
+ if ( target.is( ".ui-state-active" ) ) {
+ return;
+ }
+
+ // Remove ui-state-active class from siblings of the newly focused menu item
+ // to avoid a jump caused by adjacent elements both having a class with a border
+ this._removeClass( target.siblings().children( ".ui-state-active" ),
+ null, "ui-state-active" );
+ this.focus( event, target );
+ },
+
</ins><span class="cx" style="display: block; padding: 0 10px"> _destroy: function() {
</span><span class="cx" style="display: block; padding: 0 10px"> var items = this.element.find( ".ui-menu-item" )
</span><span class="cx" style="display: block; padding: 0 10px"> .removeAttr( "role aria-disabled" ),
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -497,7 +522,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> this._removeClass( currentMenu.find( ".ui-state-active" ), null, "ui-state-active" );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> this.activeMenu = currentMenu;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- }, this.delay );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ }, all ? 0 : this.delay );
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // With no arguments, closes the currently active menu - if nothing is active
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -533,11 +558,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> expand: function( event ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- var newItem = this.active &&
- this.active
- .children( ".ui-menu " )
- .find( this.options.items )
- .first();
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ var newItem = this.active && this._menuItems( this.active.children( ".ui-menu" ) ).first();
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( newItem && newItem.length ) {
</span><span class="cx" style="display: block; padding: 0 10px"> this._open( newItem.parent() );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -565,6 +586,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> return this.active && !this.active.nextAll( ".ui-menu-item" ).length;
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ _menuItems: function( menu ) {
+ return ( menu || this.element )
+ .find( this.options.items )
+ .filter( ".ui-menu-item" );
+ },
+
</ins><span class="cx" style="display: block; padding: 0 10px"> _move: function( direction, filter, event ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var next;
</span><span class="cx" style="display: block; padding: 0 10px"> if ( this.active ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -571,15 +598,15 @@
</span><span class="cx" style="display: block; padding: 0 10px"> if ( direction === "first" || direction === "last" ) {
</span><span class="cx" style="display: block; padding: 0 10px"> next = this.active
</span><span class="cx" style="display: block; padding: 0 10px"> [ direction === "first" ? "prevAll" : "nextAll" ]( ".ui-menu-item" )
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- .eq( -1 );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ .last();
</ins><span class="cx" style="display: block; padding: 0 10px"> } else {
</span><span class="cx" style="display: block; padding: 0 10px"> next = this.active
</span><span class="cx" style="display: block; padding: 0 10px"> [ direction + "All" ]( ".ui-menu-item" )
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- .eq( 0 );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ .first();
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> if ( !next || !next.length || !this.active ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- next = this.activeMenu.find( this.options.items )[ filter ]();
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ next = this._menuItems( this.activeMenu )[ filter ]();
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> this.focus( event, next );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -597,7 +624,13 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> if ( this._hasScroll() ) {
</span><span class="cx" style="display: block; padding: 0 10px"> base = this.active.offset().top;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- height = this.element.height();
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ height = this.element.innerHeight();
+
+ // jQuery 3.2 doesn't include scrollbars in innerHeight, add it back.
+ if ( $.fn.jquery.indexOf( "3.2." ) === 0 ) {
+ height += this.element[ 0 ].offsetHeight - this.element.outerHeight();
+ }
+
</ins><span class="cx" style="display: block; padding: 0 10px"> this.active.nextAll( ".ui-menu-item" ).each( function() {
</span><span class="cx" style="display: block; padding: 0 10px"> item = $( this );
</span><span class="cx" style="display: block; padding: 0 10px"> return item.offset().top - base - height < 0;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -605,7 +638,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> this.focus( event, item );
</span><span class="cx" style="display: block; padding: 0 10px"> } else {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- this.focus( event, this.activeMenu.find( this.options.items )
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ this.focus( event, this._menuItems( this.activeMenu )
</ins><span class="cx" style="display: block; padding: 0 10px"> [ !this.active ? "first" : "last" ]() );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -621,7 +654,13 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> if ( this._hasScroll() ) {
</span><span class="cx" style="display: block; padding: 0 10px"> base = this.active.offset().top;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- height = this.element.height();
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ height = this.element.innerHeight();
+
+ // jQuery 3.2 doesn't include scrollbars in innerHeight, add it back.
+ if ( $.fn.jquery.indexOf( "3.2." ) === 0 ) {
+ height += this.element[ 0 ].offsetHeight - this.element.outerHeight();
+ }
+
</ins><span class="cx" style="display: block; padding: 0 10px"> this.active.prevAll( ".ui-menu-item" ).each( function() {
</span><span class="cx" style="display: block; padding: 0 10px"> item = $( this );
</span><span class="cx" style="display: block; padding: 0 10px"> return item.offset().top - base + height > 0;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -629,7 +668,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> this.focus( event, item );
</span><span class="cx" style="display: block; padding: 0 10px"> } else {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- this.focus( event, this.activeMenu.find( this.options.items ).first() );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ this.focus( event, this._menuItems( this.activeMenu ).first() );
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -660,9 +699,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> .filter( ".ui-menu-item" )
</span><span class="cx" style="display: block; padding: 0 10px"> .filter( function() {
</span><span class="cx" style="display: block; padding: 0 10px"> return regex.test(
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $.trim( $( this ).children( ".ui-menu-item-wrapper" ).text() ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ String.prototype.trim.call(
+ $( this ).children( ".ui-menu-item-wrapper" ).text() ) );
</ins><span class="cx" style="display: block; padding: 0 10px"> } );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> } );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-} ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+} );
</ins></span></pre></div>
<a id="trunksrcjs_enqueuesvendorjqueryuimousejs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/js/_enqueues/vendor/jquery/ui/mouse.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/vendor/jquery/ui/mouse.js 2021-09-09 22:55:36 UTC (rev 51793)
+++ trunk/src/js/_enqueues/vendor/jquery/ui/mouse.js 2021-09-10 00:01:24 UTC (rev 51794)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,5 +1,5 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /*!
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * jQuery UI Mouse 1.12.1
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * jQuery UI Mouse 1.13.0-rc.2
</ins><span class="cx" style="display: block; padding: 0 10px"> * http://jqueryui.com
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Copyright jQuery Foundation and other contributors
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -13,6 +13,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> //>>docs: http://api.jqueryui.com/mouse/
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> ( function( factory ) {
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "use strict";
+
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( typeof define === "function" && define.amd ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // AMD. Register as an anonymous module.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -25,7 +27,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // Browser globals
</span><span class="cx" style="display: block; padding: 0 10px"> factory( jQuery );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-}( function( $ ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+} )( function( $ ) {
+"use strict";
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> var mouseHandled = false;
</span><span class="cx" style="display: block; padding: 0 10px"> $( document ).on( "mouseup", function() {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -33,7 +36,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> } );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> return $.widget( "ui.mouse", {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- version: "1.12.1",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ version: "1.13.0-rc.2",
</ins><span class="cx" style="display: block; padding: 0 10px"> options: {
</span><span class="cx" style="display: block; padding: 0 10px"> cancel: "input, textarea, button, select, option",
</span><span class="cx" style="display: block; padding: 0 10px"> distance: 1,
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -78,7 +81,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> this._mouseMoved = false;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // We may have missed mouseup (out of window)
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- ( this._mouseStarted && this._mouseUp( event ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( this._mouseStarted ) {
+ this._mouseUp( event );
+ }
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> this._mouseDownEvent = event;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -171,7 +176,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> if ( this._mouseDistanceMet( event ) && this._mouseDelayMet( event ) ) {
</span><span class="cx" style="display: block; padding: 0 10px"> this._mouseStarted =
</span><span class="cx" style="display: block; padding: 0 10px"> ( this._mouseStart( this._mouseDownEvent, event ) !== false );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- ( this._mouseStarted ? this._mouseDrag( event ) : this._mouseUp( event ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( this._mouseStarted ) {
+ this._mouseDrag( event );
+ } else {
+ this._mouseUp( event );
+ }
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> return !this._mouseStarted;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -218,7 +227,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> _mouseStart: function( /* event */ ) {},
</span><span class="cx" style="display: block; padding: 0 10px"> _mouseDrag: function( /* event */ ) {},
</span><span class="cx" style="display: block; padding: 0 10px"> _mouseStop: function( /* event */ ) {},
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- _mouseCapture: function( /* event */ ) { return true; }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ _mouseCapture: function( /* event */ ) {
+ return true;
+ }
</ins><span class="cx" style="display: block; padding: 0 10px"> } );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-} ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+} );
</ins></span></pre></div>
<a id="trunksrcjs_enqueuesvendorjqueryuiprogressbarjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/js/_enqueues/vendor/jquery/ui/progressbar.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/vendor/jquery/ui/progressbar.js 2021-09-09 22:55:36 UTC (rev 51793)
+++ trunk/src/js/_enqueues/vendor/jquery/ui/progressbar.js 2021-09-10 00:01:24 UTC (rev 51794)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,5 +1,5 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /*!
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * jQuery UI Progressbar 1.12.1
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * jQuery UI Progressbar 1.13.0-rc.2
</ins><span class="cx" style="display: block; padding: 0 10px"> * http://jqueryui.com
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Copyright jQuery Foundation and other contributors
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -9,9 +9,9 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> //>>label: Progressbar
</span><span class="cx" style="display: block; padding: 0 10px"> //>>group: Widgets
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-// jscs:disable maximumLineLength
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/* eslint-disable max-len */
</ins><span class="cx" style="display: block; padding: 0 10px"> //>>description: Displays a status indicator for loading state, standard percentage, and other progress indicators.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-// jscs:enable maximumLineLength
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/* eslint-enable max-len */
</ins><span class="cx" style="display: block; padding: 0 10px"> //>>docs: http://api.jqueryui.com/progressbar/
</span><span class="cx" style="display: block; padding: 0 10px"> //>>demos: http://jqueryui.com/progressbar/
</span><span class="cx" style="display: block; padding: 0 10px"> //>>css.structure: ../../themes/base/core.css
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -19,6 +19,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> //>>css.theme: ../../themes/base/theme.css
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> ( function( factory ) {
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "use strict";
+
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( typeof define === "function" && define.amd ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // AMD. Register as an anonymous module.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -31,10 +33,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // Browser globals
</span><span class="cx" style="display: block; padding: 0 10px"> factory( jQuery );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-}( function( $ ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+} )( function( $ ) {
+"use strict";
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> return $.widget( "ui.progressbar", {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- version: "1.12.1",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ version: "1.13.0-rc.2",
</ins><span class="cx" style="display: block; padding: 0 10px"> options: {
</span><span class="cx" style="display: block; padding: 0 10px"> classes: {
</span><span class="cx" style="display: block; padding: 0 10px"> "ui-progressbar": "ui-corner-all",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -174,4 +177,4 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> } );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-} ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+} );
</ins></span></pre></div>
<a id="trunksrcjs_enqueuesvendorjqueryuiresizablejs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/js/_enqueues/vendor/jquery/ui/resizable.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/vendor/jquery/ui/resizable.js 2021-09-09 22:55:36 UTC (rev 51793)
+++ trunk/src/js/_enqueues/vendor/jquery/ui/resizable.js 2021-09-10 00:01:24 UTC (rev 51794)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,5 +1,5 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /*!
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * jQuery UI Resizable 1.12.1
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * jQuery UI Resizable 1.13.0-rc.2
</ins><span class="cx" style="display: block; padding: 0 10px"> * http://jqueryui.com
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Copyright jQuery Foundation and other contributors
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -17,6 +17,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> //>>css.theme: ../../themes/base/theme.css
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> ( function( factory ) {
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "use strict";
+
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( typeof define === "function" && define.amd ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // AMD. Register as an anonymous module.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -30,10 +32,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // Browser globals
</span><span class="cx" style="display: block; padding: 0 10px"> factory( jQuery );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-}( function( $ ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+} )( function( $ ) {
+"use strict";
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> $.widget( "ui.resizable", $.ui.mouse, {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- version: "1.12.1",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ version: "1.13.0-rc.2",
</ins><span class="cx" style="display: block; padding: 0 10px"> widgetEventPrefix: "resize",
</span><span class="cx" style="display: block; padding: 0 10px"> options: {
</span><span class="cx" style="display: block; padding: 0 10px"> alsoResize: false,
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -88,9 +91,15 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // TODO: determine which cases actually cause this to happen
</span><span class="cx" style="display: block; padding: 0 10px"> // if the element doesn't have the scroll set, see if it's possible to
</span><span class="cx" style="display: block; padding: 0 10px"> // set the scroll
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- el[ scroll ] = 1;
- has = ( el[ scroll ] > 0 );
- el[ scroll ] = 0;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ try {
+ el[ scroll ] = 1;
+ has = ( el[ scroll ] > 0 );
+ el[ scroll ] = 0;
+ } catch ( e ) {
+
+ // `el` might be a string, then setting `scroll` will throw
+ // an error in strict mode; ignore it.
+ }
</ins><span class="cx" style="display: block; padding: 0 10px"> return has;
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -113,7 +122,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> if ( this.element[ 0 ].nodeName.match( /^(canvas|textarea|input|select|button|img)$/i ) ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> this.element.wrap(
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $( "<div class='ui-wrapper' style='overflow: hidden;'></div>" ).css( {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ $( "<div class='ui-wrapper'></div>" ).css( {
+ overflow: "hidden",
</ins><span class="cx" style="display: block; padding: 0 10px"> position: this.element.css( "position" ),
</span><span class="cx" style="display: block; padding: 0 10px"> width: this.element.outerWidth(),
</span><span class="cx" style="display: block; padding: 0 10px"> height: this.element.outerHeight(),
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -184,6 +194,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> _destroy: function() {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> this._mouseDestroy();
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ this._addedHandles.remove();
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> var wrapper,
</span><span class="cx" style="display: block; padding: 0 10px"> _destroy = function( exp ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -190,9 +201,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $( exp )
</span><span class="cx" style="display: block; padding: 0 10px"> .removeData( "resizable" )
</span><span class="cx" style="display: block; padding: 0 10px"> .removeData( "ui-resizable" )
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- .off( ".resizable" )
- .find( ".ui-resizable-handle" )
- .remove();
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ .off( ".resizable" );
</ins><span class="cx" style="display: block; padding: 0 10px"> };
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // TODO: Unwrap at same DOM position
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -223,6 +232,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> this._removeHandles();
</span><span class="cx" style="display: block; padding: 0 10px"> this._setupHandles();
</span><span class="cx" style="display: block; padding: 0 10px"> break;
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ case "aspectRatio":
+ this._aspectRatio = !!value;
+ break;
</ins><span class="cx" style="display: block; padding: 0 10px"> default:
</span><span class="cx" style="display: block; padding: 0 10px"> break;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -244,6 +256,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> } );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> this._handles = $();
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ this._addedHandles = $();
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( this.handles.constructor === String ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( this.handles === "all" ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -255,7 +268,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> for ( i = 0; i < n.length; i++ ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- handle = $.trim( n[ i ] );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ handle = String.prototype.trim.call( n[ i ] );
</ins><span class="cx" style="display: block; padding: 0 10px"> hname = "ui-resizable-" + handle;
</span><span class="cx" style="display: block; padding: 0 10px"> axis = $( "<div>" );
</span><span class="cx" style="display: block; padding: 0 10px"> this._addClass( axis, "ui-resizable-handle " + hname );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -263,7 +276,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> axis.css( { zIndex: o.zIndex } );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> this.handles[ handle ] = ".ui-resizable-" + handle;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- this.element.append( axis );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( !this.element.children( this.handles[ handle ] ).length ) {
+ this.element.append( axis );
+ this._addedHandles = this._addedHandles.add( axis );
+ }
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -329,7 +345,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> _removeHandles: function() {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- this._handles.remove();
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ this._addedHandles.remove();
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> _mouseCapture: function( event ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -709,7 +725,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( this._helper ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- this.helper = this.helper || $( "<div style='overflow:hidden;'></div>" );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ this.helper = this.helper || $( "<div></div>" ).css( { overflow: "hidden" } );
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> this._addClass( this.helper, this._helper );
</span><span class="cx" style="display: block; padding: 0 10px"> this.helper.css( {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -766,7 +782,9 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> _propagate: function( n, event ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $.ui.plugin.call( this, n, [ event, this.ui() ] );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- ( n !== "resize" && this._trigger( n, event, this.ui() ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( n !== "resize" ) {
+ this._trigger( n, event, this.ui() );
+ }
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> plugins: {},
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -887,8 +905,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> co = that.containerOffset;
</span><span class="cx" style="display: block; padding: 0 10px"> ch = that.containerSize.height;
</span><span class="cx" style="display: block; padding: 0 10px"> cw = that.containerSize.width;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- width = ( that._hasScroll ( ce, "left" ) ? ce.scrollWidth : cw );
- height = ( that._hasScroll ( ce ) ? ce.scrollHeight : ch ) ;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ width = ( that._hasScroll( ce, "left" ) ? ce.scrollWidth : cw );
+ height = ( that._hasScroll( ce ) ? ce.scrollHeight : ch );
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> that.parentData = {
</span><span class="cx" style="display: block; padding: 0 10px"> element: ce,
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1195,4 +1213,4 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> return $.ui.resizable;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-} ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+} );
</ins></span></pre></div>
<a id="trunksrcjs_enqueuesvendorjqueryuiselectablejs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/js/_enqueues/vendor/jquery/ui/selectable.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/vendor/jquery/ui/selectable.js 2021-09-09 22:55:36 UTC (rev 51793)
+++ trunk/src/js/_enqueues/vendor/jquery/ui/selectable.js 2021-09-10 00:01:24 UTC (rev 51794)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,5 +1,5 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /*!
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * jQuery UI Selectable 1.12.1
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * jQuery UI Selectable 1.13.0-rc.2
</ins><span class="cx" style="display: block; padding: 0 10px"> * http://jqueryui.com
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Copyright jQuery Foundation and other contributors
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -15,6 +15,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> //>>css.structure: ../../themes/base/selectable.css
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> ( function( factory ) {
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "use strict";
+
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( typeof define === "function" && define.amd ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // AMD. Register as an anonymous module.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -28,10 +30,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // Browser globals
</span><span class="cx" style="display: block; padding: 0 10px"> factory( jQuery );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-}( function( $ ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+} )( function( $ ) {
+"use strict";
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> return $.widget( "ui.selectable", $.ui.mouse, {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- version: "1.12.1",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ version: "1.13.0-rc.2",
</ins><span class="cx" style="display: block; padding: 0 10px"> options: {
</span><span class="cx" style="display: block; padding: 0 10px"> appendTo: "body",
</span><span class="cx" style="display: block; padding: 0 10px"> autoRefresh: true,
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -182,8 +185,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> x2 = event.pageX,
</span><span class="cx" style="display: block; padding: 0 10px"> y2 = event.pageY;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- if ( x1 > x2 ) { tmp = x2; x2 = x1; x1 = tmp; }
- if ( y1 > y2 ) { tmp = y2; y2 = y1; y1 = tmp; }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( x1 > x2 ) {
+ tmp = x2; x2 = x1; x1 = tmp;
+ }
+ if ( y1 > y2 ) {
+ tmp = y2; y2 = y1; y1 = tmp;
+ }
</ins><span class="cx" style="display: block; padding: 0 10px"> this.helper.css( { left: x1, top: y1, width: x2 - x1, height: y2 - y1 } );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> this.selectees.each( function() {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -306,4 +313,4 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> } );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-} ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+} );
</ins></span></pre></div>
<a id="trunksrcjs_enqueuesvendorjqueryuiselectmenujs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/js/_enqueues/vendor/jquery/ui/selectmenu.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/vendor/jquery/ui/selectmenu.js 2021-09-09 22:55:36 UTC (rev 51793)
+++ trunk/src/js/_enqueues/vendor/jquery/ui/selectmenu.js 2021-09-10 00:01:24 UTC (rev 51794)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,5 +1,5 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /*!
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * jQuery UI Selectmenu 1.12.1
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * jQuery UI Selectmenu 1.13.0-rc.2
</ins><span class="cx" style="display: block; padding: 0 10px"> * http://jqueryui.com
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Copyright jQuery Foundation and other contributors
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -9,9 +9,9 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> //>>label: Selectmenu
</span><span class="cx" style="display: block; padding: 0 10px"> //>>group: Widgets
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-// jscs:disable maximumLineLength
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/* eslint-disable max-len */
</ins><span class="cx" style="display: block; padding: 0 10px"> //>>description: Duplicates and extends the functionality of a native HTML select element, allowing it to be customizable in behavior and appearance far beyond the limitations of a native select.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-// jscs:enable maximumLineLength
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/* eslint-enable max-len */
</ins><span class="cx" style="display: block; padding: 0 10px"> //>>docs: http://api.jqueryui.com/selectmenu/
</span><span class="cx" style="display: block; padding: 0 10px"> //>>demos: http://jqueryui.com/selectmenu/
</span><span class="cx" style="display: block; padding: 0 10px"> //>>css.structure: ../../themes/base/core.css
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -19,6 +19,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> //>>css.theme: ../../themes/base/theme.css
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> ( function( factory ) {
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "use strict";
+
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( typeof define === "function" && define.amd ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // AMD. Register as an anonymous module.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -32,10 +34,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // Browser globals
</span><span class="cx" style="display: block; padding: 0 10px"> factory( jQuery );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-}( function( $ ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+} )( function( $ ) {
+"use strict";
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> return $.widget( "ui.selectmenu", [ $.ui.formResetMixin, {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- version: "1.12.1",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ version: "1.13.0-rc.2",
</ins><span class="cx" style="display: block; padding: 0 10px"> defaultElement: "<select>",
</span><span class="cx" style="display: block; padding: 0 10px"> options: {
</span><span class="cx" style="display: block; padding: 0 10px"> appendTo: null,
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -90,7 +93,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> this.labels = this.element.labels().attr( "for", this.ids.button );
</span><span class="cx" style="display: block; padding: 0 10px"> this._on( this.labels, {
</span><span class="cx" style="display: block; padding: 0 10px"> click: function( event ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- this.button.focus();
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ this.button.trigger( "focus" );
</ins><span class="cx" style="display: block; padding: 0 10px"> event.preventDefault();
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> } );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -418,7 +421,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( !$( event.target ).closest( ".ui-selectmenu-menu, #" +
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $.ui.escapeSelector( this.ids.button ) ).length ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ $.escapeSelector( this.ids.button ) ).length ) {
</ins><span class="cx" style="display: block; padding: 0 10px"> this.close( event );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -649,6 +652,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> var that = this,
</span><span class="cx" style="display: block; padding: 0 10px"> data = [];
</span><span class="cx" style="display: block; padding: 0 10px"> options.each( function( index, item ) {
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( item.hidden ) {
+ return;
+ }
+
</ins><span class="cx" style="display: block; padding: 0 10px"> data.push( that._parseOption( $( item ), index ) );
</span><span class="cx" style="display: block; padding: 0 10px"> } );
</span><span class="cx" style="display: block; padding: 0 10px"> this.items = data;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -677,4 +684,4 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> } ] );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-} ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+} );
</ins></span></pre></div>
<a id="trunksrcjs_enqueuesvendorjqueryuisliderjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/js/_enqueues/vendor/jquery/ui/slider.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/vendor/jquery/ui/slider.js 2021-09-09 22:55:36 UTC (rev 51793)
+++ trunk/src/js/_enqueues/vendor/jquery/ui/slider.js 2021-09-10 00:01:24 UTC (rev 51794)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,5 +1,5 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /*!
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * jQuery UI Slider 1.12.1
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * jQuery UI Slider 1.13.0-rc.2
</ins><span class="cx" style="display: block; padding: 0 10px"> * http://jqueryui.com
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Copyright jQuery Foundation and other contributors
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -17,6 +17,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> //>>css.theme: ../../themes/base/theme.css
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> ( function( factory ) {
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "use strict";
+
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( typeof define === "function" && define.amd ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // AMD. Register as an anonymous module.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -30,10 +32,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // Browser globals
</span><span class="cx" style="display: block; padding: 0 10px"> factory( jQuery );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-}( function( $ ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+} )( function( $ ) {
+"use strict";
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> return $.widget( "ui.slider", $.ui.mouse, {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- version: "1.12.1",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ version: "1.13.0-rc.2",
</ins><span class="cx" style="display: block; padding: 0 10px"> widgetEventPrefix: "slide",
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> options: {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -130,7 +133,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> options.values = [ this._valueMin(), this._valueMin() ];
</span><span class="cx" style="display: block; padding: 0 10px"> } else if ( options.values.length && options.values.length !== 2 ) {
</span><span class="cx" style="display: block; padding: 0 10px"> options.values = [ options.values[ 0 ], options.values[ 0 ] ];
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- } else if ( $.isArray( options.values ) ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ } else if ( Array.isArray( options.values ) ) {
</ins><span class="cx" style="display: block; padding: 0 10px"> options.values = options.values.slice( 0 );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -393,7 +396,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( arguments.length ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- if ( $.isArray( arguments[ 0 ] ) ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( Array.isArray( arguments[ 0 ] ) ) {
</ins><span class="cx" style="display: block; padding: 0 10px"> vals = this.options.values;
</span><span class="cx" style="display: block; padding: 0 10px"> newValues = arguments[ 0 ];
</span><span class="cx" style="display: block; padding: 0 10px"> for ( i = 0; i < vals.length; i += 1 ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -427,7 +430,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- if ( $.isArray( this.options.values ) ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( Array.isArray( this.options.values ) ) {
</ins><span class="cx" style="display: block; padding: 0 10px"> valsLength = this.options.values.length;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -747,4 +750,4 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> } );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-} ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+} );
</ins></span></pre></div>
<a id="trunksrcjs_enqueuesvendorjqueryuisortablejs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/js/_enqueues/vendor/jquery/ui/sortable.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/vendor/jquery/ui/sortable.js 2021-09-09 22:55:36 UTC (rev 51793)
+++ trunk/src/js/_enqueues/vendor/jquery/ui/sortable.js 2021-09-10 00:01:24 UTC (rev 51794)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,5 +1,5 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /*!
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * jQuery UI Sortable 1.12.1
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * jQuery UI Sortable 1.13.0-rc.2
</ins><span class="cx" style="display: block; padding: 0 10px"> * http://jqueryui.com
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Copyright jQuery Foundation and other contributors
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -15,6 +15,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> //>>css.structure: ../../themes/base/sortable.css
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> ( function( factory ) {
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "use strict";
+
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( typeof define === "function" && define.amd ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // AMD. Register as an anonymous module.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -28,10 +30,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // Browser globals
</span><span class="cx" style="display: block; padding: 0 10px"> factory( jQuery );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-}( function( $ ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+} )( function( $ ) {
+"use strict";
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> return $.widget( "ui.sortable", $.ui.mouse, {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- version: "1.12.1",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ version: "1.13.0-rc.2",
</ins><span class="cx" style="display: block; padding: 0 10px"> widgetEventPrefix: "sort",
</span><span class="cx" style="display: block; padding: 0 10px"> ready: false,
</span><span class="cx" style="display: block; padding: 0 10px"> options: {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -191,6 +194,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // mouseCapture
</span><span class="cx" style="display: block; padding: 0 10px"> this.refreshPositions();
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ //Prepare the dragged items parent
+ this.appendTo = $( o.appendTo !== "parent" ?
+ o.appendTo :
+ this.currentItem.parent() );
+
</ins><span class="cx" style="display: block; padding: 0 10px"> //Create and append the visible helper
</span><span class="cx" style="display: block; padding: 0 10px"> this.helper = this._createHelper( event );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -205,9 +213,6 @@
</span><span class="cx" style="display: block; padding: 0 10px"> //Cache the margins of the original element
</span><span class="cx" style="display: block; padding: 0 10px"> this._cacheMargins();
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- //Get the next scrolling parent
- this.scrollParent = this.helper.scrollParent();
-
</del><span class="cx" style="display: block; padding: 0 10px"> //The element's absolute position on the page minus margins
</span><span class="cx" style="display: block; padding: 0 10px"> this.offset = this.currentItem.offset();
</span><span class="cx" style="display: block; padding: 0 10px"> this.offset = {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -220,7 +225,6 @@
</span><span class="cx" style="display: block; padding: 0 10px"> left: event.pageX - this.offset.left,
</span><span class="cx" style="display: block; padding: 0 10px"> top: event.pageY - this.offset.top
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- parent: this._getParentOffset(),
</del><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // This is a relative to absolute position minus the actual position calculation -
</span><span class="cx" style="display: block; padding: 0 10px"> // only used for relative positioned helper
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -227,18 +231,16 @@
</span><span class="cx" style="display: block; padding: 0 10px"> relative: this._getRelativeOffset()
</span><span class="cx" style="display: block; padding: 0 10px"> } );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // Only after we got the offset, we can change the helper's position to absolute
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // After we get the helper offset, but before we get the parent offset we can
+ // change the helper's position to absolute
</ins><span class="cx" style="display: block; padding: 0 10px"> // TODO: Still need to figure out a way to make relative sorting possible
</span><span class="cx" style="display: block; padding: 0 10px"> this.helper.css( "position", "absolute" );
</span><span class="cx" style="display: block; padding: 0 10px"> this.cssPosition = this.helper.css( "position" );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- //Generate the original position
- this.originalPosition = this._generatePosition( event );
- this.originalPageX = event.pageX;
- this.originalPageY = event.pageY;
-
</del><span class="cx" style="display: block; padding: 0 10px"> //Adjust the mouse offset relative to the helper if "cursorAt" is supplied
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- ( o.cursorAt && this._adjustOffsetFromHelper( o.cursorAt ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( o.cursorAt ) {
+ this._adjustOffsetFromHelper( o.cursorAt );
+ }
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> //Cache the former DOM position
</span><span class="cx" style="display: block; padding: 0 10px"> this.domPosition = {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -255,6 +257,13 @@
</span><span class="cx" style="display: block; padding: 0 10px"> //Create the placeholder
</span><span class="cx" style="display: block; padding: 0 10px"> this._createPlaceholder();
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ //Get the next scrolling parent
+ this.scrollParent = this.placeholder.scrollParent();
+
+ $.extend( this.offset, {
+ parent: this._getParentOffset()
+ } );
+
</ins><span class="cx" style="display: block; padding: 0 10px"> //Set a containment if given in the options
</span><span class="cx" style="display: block; padding: 0 10px"> if ( o.containment ) {
</span><span class="cx" style="display: block; padding: 0 10px"> this._setContainment();
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -271,6 +280,16 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $( "<style>*{ cursor: " + o.cursor + " !important; }</style>" ).appendTo( body );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // We need to make sure to grab the zIndex before setting the
+ // opacity, because setting the opacity to anything lower than 1
+ // causes the zIndex to change from "auto" to 0.
+ if ( o.zIndex ) { // zIndex option
+ if ( this.helper.css( "zIndex" ) ) {
+ this._storedZIndex = this.helper.css( "zIndex" );
+ }
+ this.helper.css( "zIndex", o.zIndex );
+ }
+
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( o.opacity ) { // opacity option
</span><span class="cx" style="display: block; padding: 0 10px"> if ( this.helper.css( "opacity" ) ) {
</span><span class="cx" style="display: block; padding: 0 10px"> this._storedOpacity = this.helper.css( "opacity" );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -278,13 +297,6 @@
</span><span class="cx" style="display: block; padding: 0 10px"> this.helper.css( "opacity", o.opacity );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- if ( o.zIndex ) { // zIndex option
- if ( this.helper.css( "zIndex" ) ) {
- this._storedZIndex = this.helper.css( "zIndex" );
- }
- this.helper.css( "zIndex", o.zIndex );
- }
-
</del><span class="cx" style="display: block; padding: 0 10px"> //Prepare scrolling
</span><span class="cx" style="display: block; padding: 0 10px"> if ( this.scrollParent[ 0 ] !== this.document[ 0 ] &&
</span><span class="cx" style="display: block; padding: 0 10px"> this.scrollParent[ 0 ].tagName !== "HTML" ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -319,77 +331,82 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> this._addClass( this.helper, "ui-sortable-helper" );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // Execute the drag once - this causes the helper not to be visiblebefore getting its
- // correct position
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ //Move the helper, if needed
+ if ( !this.helper.parent().is( this.appendTo ) ) {
+ this.helper.detach().appendTo( this.appendTo );
+
+ //Update position
+ this.offset.parent = this._getParentOffset();
+ }
+
+ //Generate the original position
+ this.position = this.originalPosition = this._generatePosition( event );
+ this.originalPageX = event.pageX;
+ this.originalPageY = event.pageY;
+ this.lastPositionAbs = this.positionAbs = this._convertPositionTo( "absolute" );
+
</ins><span class="cx" style="display: block; padding: 0 10px"> this._mouseDrag( event );
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px"> return true;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- _mouseDrag: function( event ) {
- var i, item, itemElement, intersection,
- o = this.options,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ _scroll: function( event ) {
+ var o = this.options,
</ins><span class="cx" style="display: block; padding: 0 10px"> scrolled = false;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- //Compute the helpers position
- this.position = this._generatePosition( event );
- this.positionAbs = this._convertPositionTo( "absolute" );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( this.scrollParent[ 0 ] !== this.document[ 0 ] &&
+ this.scrollParent[ 0 ].tagName !== "HTML" ) {
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- if ( !this.lastPositionAbs ) {
- this.lastPositionAbs = this.positionAbs;
- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( ( this.overflowOffset.top + this.scrollParent[ 0 ].offsetHeight ) -
+ event.pageY < o.scrollSensitivity ) {
+ this.scrollParent[ 0 ].scrollTop =
+ scrolled = this.scrollParent[ 0 ].scrollTop + o.scrollSpeed;
+ } else if ( event.pageY - this.overflowOffset.top < o.scrollSensitivity ) {
+ this.scrollParent[ 0 ].scrollTop =
+ scrolled = this.scrollParent[ 0 ].scrollTop - o.scrollSpeed;
+ }
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- //Do scrolling
- if ( this.options.scroll ) {
- if ( this.scrollParent[ 0 ] !== this.document[ 0 ] &&
- this.scrollParent[ 0 ].tagName !== "HTML" ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( ( this.overflowOffset.left + this.scrollParent[ 0 ].offsetWidth ) -
+ event.pageX < o.scrollSensitivity ) {
+ this.scrollParent[ 0 ].scrollLeft = scrolled =
+ this.scrollParent[ 0 ].scrollLeft + o.scrollSpeed;
+ } else if ( event.pageX - this.overflowOffset.left < o.scrollSensitivity ) {
+ this.scrollParent[ 0 ].scrollLeft = scrolled =
+ this.scrollParent[ 0 ].scrollLeft - o.scrollSpeed;
+ }
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- if ( ( this.overflowOffset.top + this.scrollParent[ 0 ].offsetHeight ) -
- event.pageY < o.scrollSensitivity ) {
- this.scrollParent[ 0 ].scrollTop =
- scrolled = this.scrollParent[ 0 ].scrollTop + o.scrollSpeed;
- } else if ( event.pageY - this.overflowOffset.top < o.scrollSensitivity ) {
- this.scrollParent[ 0 ].scrollTop =
- scrolled = this.scrollParent[ 0 ].scrollTop - o.scrollSpeed;
- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ } else {
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- if ( ( this.overflowOffset.left + this.scrollParent[ 0 ].offsetWidth ) -
- event.pageX < o.scrollSensitivity ) {
- this.scrollParent[ 0 ].scrollLeft = scrolled =
- this.scrollParent[ 0 ].scrollLeft + o.scrollSpeed;
- } else if ( event.pageX - this.overflowOffset.left < o.scrollSensitivity ) {
- this.scrollParent[ 0 ].scrollLeft = scrolled =
- this.scrollParent[ 0 ].scrollLeft - o.scrollSpeed;
- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( event.pageY - this.document.scrollTop() < o.scrollSensitivity ) {
+ scrolled = this.document.scrollTop( this.document.scrollTop() - o.scrollSpeed );
+ } else if ( this.window.height() - ( event.pageY - this.document.scrollTop() ) <
+ o.scrollSensitivity ) {
+ scrolled = this.document.scrollTop( this.document.scrollTop() + o.scrollSpeed );
+ }
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- } else {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( event.pageX - this.document.scrollLeft() < o.scrollSensitivity ) {
+ scrolled = this.document.scrollLeft(
+ this.document.scrollLeft() - o.scrollSpeed
+ );
+ } else if ( this.window.width() - ( event.pageX - this.document.scrollLeft() ) <
+ o.scrollSensitivity ) {
+ scrolled = this.document.scrollLeft(
+ this.document.scrollLeft() + o.scrollSpeed
+ );
+ }
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- if ( event.pageY - this.document.scrollTop() < o.scrollSensitivity ) {
- scrolled = this.document.scrollTop( this.document.scrollTop() - o.scrollSpeed );
- } else if ( this.window.height() - ( event.pageY - this.document.scrollTop() ) <
- o.scrollSensitivity ) {
- scrolled = this.document.scrollTop( this.document.scrollTop() + o.scrollSpeed );
- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ }
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- if ( event.pageX - this.document.scrollLeft() < o.scrollSensitivity ) {
- scrolled = this.document.scrollLeft(
- this.document.scrollLeft() - o.scrollSpeed
- );
- } else if ( this.window.width() - ( event.pageX - this.document.scrollLeft() ) <
- o.scrollSensitivity ) {
- scrolled = this.document.scrollLeft(
- this.document.scrollLeft() + o.scrollSpeed
- );
- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ return scrolled;
+ },
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ _mouseDrag: function( event ) {
+ var i, item, itemElement, intersection,
+ o = this.options;
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- if ( scrolled !== false && $.ui.ddmanager && !o.dropBehaviour ) {
- $.ui.ddmanager.prepareOffsets( this, event );
- }
- }
-
- //Regenerate the absolute position used for position checks
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ //Compute the helpers position
+ this.position = this._generatePosition( event );
</ins><span class="cx" style="display: block; padding: 0 10px"> this.positionAbs = this._convertPositionTo( "absolute" );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> //Set the helper position
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -400,56 +417,79 @@
</span><span class="cx" style="display: block; padding: 0 10px"> this.helper[ 0 ].style.top = this.position.top + "px";
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- //Rearrange
- for ( i = this.items.length - 1; i >= 0; i-- ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ //Post events to containers
+ this._contactContainers( event );
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- //Cache variables and intersection, continue if no intersection
- item = this.items[ i ];
- itemElement = item.item[ 0 ];
- intersection = this._intersectsWithPointer( item );
- if ( !intersection ) {
- continue;
- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( this.innermostContainer !== null ) {
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // Only put the placeholder inside the current Container, skip all
- // items from other containers. This works because when moving
- // an item from one container to another the
- // currentContainer is switched before the placeholder is moved.
- //
- // Without this, moving items in "sub-sortables" can cause
- // the placeholder to jitter between the outer and inner container.
- if ( item.instance !== this.currentContainer ) {
- continue;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ //Do scrolling
+ if ( o.scroll ) {
+ if ( this._scroll( event ) !== false ) {
+
+ //Update item positions used in position checks
+ this._refreshItemPositions( true );
+
+ if ( $.ui.ddmanager && !o.dropBehaviour ) {
+ $.ui.ddmanager.prepareOffsets( this, event );
+ }
+ }
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // Cannot intersect with itself
- // no useless actions that have been done before
- // no action if the item moved is the parent of the item checked
- if ( itemElement !== this.currentItem[ 0 ] &&
- this.placeholder[ intersection === 1 ? "next" : "prev" ]()[ 0 ] !== itemElement &&
- !$.contains( this.placeholder[ 0 ], itemElement ) &&
- ( this.options.type === "semi-dynamic" ?
- !$.contains( this.element[ 0 ], itemElement ) :
- true
- )
- ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ this.dragDirection = {
+ vertical: this._getDragVerticalDirection(),
+ horizontal: this._getDragHorizontalDirection()
+ };
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- this.direction = intersection === 1 ? "down" : "up";
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ //Rearrange
+ for ( i = this.items.length - 1; i >= 0; i-- ) {
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- if ( this.options.tolerance === "pointer" || this._intersectsWithSides( item ) ) {
- this._rearrange( event, item );
- } else {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ //Cache variables and intersection, continue if no intersection
+ item = this.items[ i ];
+ itemElement = item.item[ 0 ];
+ intersection = this._intersectsWithPointer( item );
+ if ( !intersection ) {
+ continue;
+ }
+
+ // Only put the placeholder inside the current Container, skip all
+ // items from other containers. This works because when moving
+ // an item from one container to another the
+ // currentContainer is switched before the placeholder is moved.
+ //
+ // Without this, moving items in "sub-sortables" can cause
+ // the placeholder to jitter between the outer and inner container.
+ if ( item.instance !== this.currentContainer ) {
+ continue;
+ }
+
+ // Cannot intersect with itself
+ // no useless actions that have been done before
+ // no action if the item moved is the parent of the item checked
+ if ( itemElement !== this.currentItem[ 0 ] &&
+ this.placeholder[ intersection === 1 ?
+ "next" : "prev" ]()[ 0 ] !== itemElement &&
+ !$.contains( this.placeholder[ 0 ], itemElement ) &&
+ ( this.options.type === "semi-dynamic" ?
+ !$.contains( this.element[ 0 ], itemElement ) :
+ true
+ )
+ ) {
+
+ this.direction = intersection === 1 ? "down" : "up";
+
+ if ( this.options.tolerance === "pointer" ||
+ this._intersectsWithSides( item ) ) {
+ this._rearrange( event, item );
+ } else {
+ break;
+ }
+
+ this._trigger( "change", event, this._uiHash() );
</ins><span class="cx" style="display: block; padding: 0 10px"> break;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-
- this._trigger( "change", event, this._uiHash() );
- break;
</del><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- //Post events to containers
- this._contactContainers( event );
-
</del><span class="cx" style="display: block; padding: 0 10px"> //Interconnect with droppables
</span><span class="cx" style="display: block; padding: 0 10px"> if ( $.ui.ddmanager ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $.ui.ddmanager.drag( this, event );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -652,12 +692,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> return false;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- verticalDirection = this._getDragVerticalDirection();
- horizontalDirection = this._getDragHorizontalDirection();
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ verticalDirection = this.dragDirection.vertical;
+ horizontalDirection = this.dragDirection.horizontal;
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> return this.floating ?
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- ( ( horizontalDirection === "right" || verticalDirection === "down" ) ? 2 : 1 )
- : ( verticalDirection && ( verticalDirection === "down" ? 2 : 1 ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ( ( horizontalDirection === "right" || verticalDirection === "down" ) ? 2 : 1 ) :
+ ( verticalDirection && ( verticalDirection === "down" ? 2 : 1 ) );
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -667,8 +707,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> this.offset.click.top, item.top + ( item.height / 2 ), item.height ),
</span><span class="cx" style="display: block; padding: 0 10px"> isOverRightHalf = this._isOverAxis( this.positionAbs.left +
</span><span class="cx" style="display: block; padding: 0 10px"> this.offset.click.left, item.left + ( item.width / 2 ), item.width ),
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- verticalDirection = this._getDragVerticalDirection(),
- horizontalDirection = this._getDragHorizontalDirection();
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ verticalDirection = this.dragDirection.vertical,
+ horizontalDirection = this.dragDirection.horizontal;
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( this.floating && horizontalDirection ) {
</span><span class="cx" style="display: block; padding: 0 10px"> return ( ( horizontalDirection === "right" && isOverRightHalf ) ||
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -717,7 +757,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> for ( j = cur.length - 1; j >= 0; j-- ) {
</span><span class="cx" style="display: block; padding: 0 10px"> inst = $.data( cur[ j ], this.widgetFullName );
</span><span class="cx" style="display: block; padding: 0 10px"> if ( inst && inst !== this && !inst.options.disabled ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- queries.push( [ $.isFunction( inst.options.items ) ?
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ queries.push( [ typeof inst.options.items === "function" ?
</ins><span class="cx" style="display: block; padding: 0 10px"> inst.options.items.call( inst.element ) :
</span><span class="cx" style="display: block; padding: 0 10px"> $( inst.options.items, inst.element )
</span><span class="cx" style="display: block; padding: 0 10px"> .not( ".ui-sortable-helper" )
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -727,7 +767,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- queries.push( [ $.isFunction( this.options.items ) ?
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ queries.push( [ typeof this.options.items === "function" ?
</ins><span class="cx" style="display: block; padding: 0 10px"> this.options.items
</span><span class="cx" style="display: block; padding: 0 10px"> .call( this.element, null, { options: this.options, item: this.currentItem } ) :
</span><span class="cx" style="display: block; padding: 0 10px"> $( this.options.items, this.element )
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -767,7 +807,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> var i, j, cur, inst, targetData, _queries, item, queriesLength,
</span><span class="cx" style="display: block; padding: 0 10px"> items = this.items,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- queries = [ [ $.isFunction( this.options.items ) ?
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ queries = [ [ typeof this.options.items === "function" ?
</ins><span class="cx" style="display: block; padding: 0 10px"> this.options.items.call( this.element[ 0 ], event, { item: this.currentItem } ) :
</span><span class="cx" style="display: block; padding: 0 10px"> $( this.options.items, this.element ), this ] ],
</span><span class="cx" style="display: block; padding: 0 10px"> connectWith = this._connectWith();
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -779,7 +819,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> for ( j = cur.length - 1; j >= 0; j-- ) {
</span><span class="cx" style="display: block; padding: 0 10px"> inst = $.data( cur[ j ], this.widgetFullName );
</span><span class="cx" style="display: block; padding: 0 10px"> if ( inst && inst !== this && !inst.options.disabled ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- queries.push( [ $.isFunction( inst.options.items ) ?
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ queries.push( [ typeof inst.options.items === "function" ?
</ins><span class="cx" style="display: block; padding: 0 10px"> inst.options.items
</span><span class="cx" style="display: block; padding: 0 10px"> .call( inst.element[ 0 ], event, { item: this.currentItem } ) :
</span><span class="cx" style="display: block; padding: 0 10px"> $( inst.options.items, inst.element ), inst ] );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -810,19 +850,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- refreshPositions: function( fast ) {
-
- // Determine whether items are being displayed horizontally
- this.floating = this.items.length ?
- this.options.axis === "x" || this._isFloating( this.items[ 0 ].item ) :
- false;
-
- //This has to be redone because due to the item being moved out/into the offsetParent,
- // the offsetParent's position will change
- if ( this.offsetParent && this.helper ) {
- this.offset.parent = this._getParentOffset();
- }
-
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ _refreshItemPositions: function( fast ) {
</ins><span class="cx" style="display: block; padding: 0 10px"> var i, item, t, p;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> for ( i = this.items.length - 1; i >= 0; i-- ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -829,7 +857,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> item = this.items[ i ];
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> //We ignore calculating positions of all connected containers when we're not over them
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- if ( item.instance !== this.currentContainer && this.currentContainer &&
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( this.currentContainer && item.instance !== this.currentContainer &&
</ins><span class="cx" style="display: block; padding: 0 10px"> item.item[ 0 ] !== this.currentItem[ 0 ] ) {
</span><span class="cx" style="display: block; padding: 0 10px"> continue;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -847,7 +875,21 @@
</span><span class="cx" style="display: block; padding: 0 10px"> item.left = p.left;
</span><span class="cx" style="display: block; padding: 0 10px"> item.top = p.top;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ },
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ refreshPositions: function( fast ) {
+
+ // Determine whether items are being displayed horizontally
+ this.floating = this.items.length ?
+ this.options.axis === "x" || this._isFloating( this.items[ 0 ].item ) :
+ false;
+
+ if ( this.innermostContainer !== null ) {
+ this._refreshItemPositions( fast );
+ }
+
+ var i, p;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( this.options.custom && this.options.custom.refreshContainers ) {
</span><span class="cx" style="display: block; padding: 0 10px"> this.options.custom.refreshContainers.call( this );
</span><span class="cx" style="display: block; padding: 0 10px"> } else {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -867,20 +909,20 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> _createPlaceholder: function( that ) {
</span><span class="cx" style="display: block; padding: 0 10px"> that = that || this;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- var className,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ var className, nodeName,
</ins><span class="cx" style="display: block; padding: 0 10px"> o = that.options;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( !o.placeholder || o.placeholder.constructor === String ) {
</span><span class="cx" style="display: block; padding: 0 10px"> className = o.placeholder;
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ nodeName = that.currentItem[ 0 ].nodeName.toLowerCase();
</ins><span class="cx" style="display: block; padding: 0 10px"> o.placeholder = {
</span><span class="cx" style="display: block; padding: 0 10px"> element: function() {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- var nodeName = that.currentItem[ 0 ].nodeName.toLowerCase(),
- element = $( "<" + nodeName + ">", that.document[ 0 ] );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ var element = $( "<" + nodeName + ">", that.document[ 0 ] );
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- that._addClass( element, "ui-sortable-placeholder",
- className || that.currentItem[ 0 ].className )
- ._removeClass( element, "ui-sortable-helper" );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ that._addClass( element, "ui-sortable-placeholder",
+ className || that.currentItem[ 0 ].className )
+ ._removeClass( element, "ui-sortable-helper" );
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( nodeName === "tbody" ) {
</span><span class="cx" style="display: block; padding: 0 10px"> that._createTrPlaceholder(
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -909,9 +951,15 @@
</span><span class="cx" style="display: block; padding: 0 10px"> return;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- //If the element doesn't have a actual height by itself (without styles coming
- // from a stylesheet), it receives the inline height from the dragged item
- if ( !p.height() ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // If the element doesn't have a actual height or width by itself (without
+ // styles coming from a stylesheet), it receives the inline height and width
+ // from the dragged item. Or, if it's a tbody or tr, it's going to have a height
+ // anyway since we're populating them with <td>s above, but they're unlikely to
+ // be the correct height on their own if the row heights are dynamic, so we'll
+ // always assign the height of the dragged item given forcePlaceholderSize
+ // is true.
+ if ( !p.height() || ( o.forcePlaceholderSize &&
+ ( nodeName === "tbody" || nodeName === "tr" ) ) ) {
</ins><span class="cx" style="display: block; padding: 0 10px"> p.height(
</span><span class="cx" style="display: block; padding: 0 10px"> that.currentItem.innerHeight() -
</span><span class="cx" style="display: block; padding: 0 10px"> parseInt( that.currentItem.css( "paddingTop" ) || 0, 10 ) -
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -986,6 +1034,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ this.innermostContainer = innermostContainer;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> // If no intersecting containers found, return
</span><span class="cx" style="display: block; padding: 0 10px"> if ( !innermostContainer ) {
</span><span class="cx" style="display: block; padding: 0 10px"> return;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1044,9 +1094,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> return;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- itemWithLeastDistance ?
- this._rearrange( event, itemWithLeastDistance, null, true ) :
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( itemWithLeastDistance ) {
+ this._rearrange( event, itemWithLeastDistance, null, true );
+ } else {
</ins><span class="cx" style="display: block; padding: 0 10px"> this._rearrange( event, null, this.containers[ innermostIndex ].element, true );
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ }
</ins><span class="cx" style="display: block; padding: 0 10px"> this._trigger( "change", event, this._uiHash() );
</span><span class="cx" style="display: block; padding: 0 10px"> this.containers[ innermostIndex ]._trigger( "change", event, this._uiHash( this ) );
</span><span class="cx" style="display: block; padding: 0 10px"> this.currentContainer = this.containers[ innermostIndex ];
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1054,6 +1106,15 @@
</span><span class="cx" style="display: block; padding: 0 10px"> //Update the placeholder
</span><span class="cx" style="display: block; padding: 0 10px"> this.options.placeholder.update( this.currentContainer, this.placeholder );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ //Update scrollParent
+ this.scrollParent = this.placeholder.scrollParent();
+
+ //Update overflowOffset
+ if ( this.scrollParent[ 0 ] !== this.document[ 0 ] &&
+ this.scrollParent[ 0 ].tagName !== "HTML" ) {
+ this.overflowOffset = this.scrollParent.offset();
+ }
+
</ins><span class="cx" style="display: block; padding: 0 10px"> this.containers[ innermostIndex ]._trigger( "over", event, this._uiHash( this ) );
</span><span class="cx" style="display: block; padding: 0 10px"> this.containers[ innermostIndex ].containerCache.over = 1;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1063,15 +1124,13 @@
</span><span class="cx" style="display: block; padding: 0 10px"> _createHelper: function( event ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> var o = this.options,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- helper = $.isFunction( o.helper ) ?
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ helper = typeof o.helper === "function" ?
</ins><span class="cx" style="display: block; padding: 0 10px"> $( o.helper.apply( this.element[ 0 ], [ event, this.currentItem ] ) ) :
</span><span class="cx" style="display: block; padding: 0 10px"> ( o.helper === "clone" ? this.currentItem.clone() : this.currentItem );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> //Add the helper to the DOM if that didn't happen already
</span><span class="cx" style="display: block; padding: 0 10px"> if ( !helper.parents( "body" ).length ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $( o.appendTo !== "parent" ?
- o.appendTo :
- this.currentItem[ 0 ].parentNode )[ 0 ].appendChild( helper[ 0 ] );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ this.appendTo[ 0 ].appendChild( helper[ 0 ] );
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( helper[ 0 ] === this.currentItem[ 0 ] ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1099,7 +1158,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> if ( typeof obj === "string" ) {
</span><span class="cx" style="display: block; padding: 0 10px"> obj = obj.split( " " );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- if ( $.isArray( obj ) ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( Array.isArray( obj ) ) {
</ins><span class="cx" style="display: block; padding: 0 10px"> obj = { left: +obj[ 0 ], top: +obj[ 1 ] || 0 };
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> if ( "left" in obj ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1379,9 +1438,12 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> _rearrange: function( event, i, a, hardRefresh ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- a ? a[ 0 ].appendChild( this.placeholder[ 0 ] ) :
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( a ) {
+ a[ 0 ].appendChild( this.placeholder[ 0 ] );
+ } else {
</ins><span class="cx" style="display: block; padding: 0 10px"> i.item[ 0 ].parentNode.insertBefore( this.placeholder[ 0 ],
</span><span class="cx" style="display: block; padding: 0 10px"> ( this.direction === "down" ? i.item[ 0 ] : i.item[ 0 ].nextSibling ) );
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ }
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> //Various things done here to improve the performance:
</span><span class="cx" style="display: block; padding: 0 10px"> // 1. we create a setTimeout, that calls refreshPositions
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1547,4 +1609,4 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> } );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-} ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+} );
</ins></span></pre></div>
<a id="trunksrcjs_enqueuesvendorjqueryuispinnerjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/js/_enqueues/vendor/jquery/ui/spinner.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/vendor/jquery/ui/spinner.js 2021-09-09 22:55:36 UTC (rev 51793)
+++ trunk/src/js/_enqueues/vendor/jquery/ui/spinner.js 2021-09-10 00:01:24 UTC (rev 51794)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,5 +1,5 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /*!
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * jQuery UI Spinner 1.12.1
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * jQuery UI Spinner 1.13.0-rc.2
</ins><span class="cx" style="display: block; padding: 0 10px"> * http://jqueryui.com
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Copyright jQuery Foundation and other contributors
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -17,6 +17,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> //>>css.theme: ../../themes/base/theme.css
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> ( function( factory ) {
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "use strict";
+
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( typeof define === "function" && define.amd ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // AMD. Register as an anonymous module.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -30,9 +32,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // Browser globals
</span><span class="cx" style="display: block; padding: 0 10px"> factory( jQuery );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-}( function( $ ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+} )( function( $ ) {
+"use strict";
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-function spinnerModifer( fn ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+function spinnerModifier( fn ) {
</ins><span class="cx" style="display: block; padding: 0 10px"> return function() {
</span><span class="cx" style="display: block; padding: 0 10px"> var previous = this.element.val();
</span><span class="cx" style="display: block; padding: 0 10px"> fn.apply( this, arguments );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -44,7 +47,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> $.widget( "ui.spinner", {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- version: "1.12.1",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ version: "1.13.0-rc.2",
</ins><span class="cx" style="display: block; padding: 0 10px"> defaultElement: "<input>",
</span><span class="cx" style="display: block; padding: 0 10px"> widgetEventPrefix: "spin",
</span><span class="cx" style="display: block; padding: 0 10px"> options: {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -137,9 +140,13 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> mousewheel: function( event, delta ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- if ( !delta ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ var activeElement = $.ui.safeActiveElement( this.document[ 0 ] );
+ var isActive = this.element[ 0 ] === activeElement;
+
+ if ( !isActive || !delta ) {
</ins><span class="cx" style="display: block; padding: 0 10px"> return;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( !this.spinning && !this._start( event ) ) {
</span><span class="cx" style="display: block; padding: 0 10px"> return false;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -337,7 +344,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> var incremental = this.options.incremental;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( incremental ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- return $.isFunction( incremental ) ?
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ return typeof incremental === "function" ?
</ins><span class="cx" style="display: block; padding: 0 10px"> incremental( i ) :
</span><span class="cx" style="display: block; padding: 0 10px"> Math.floor( i * i * i / 50000 - i * i / 500 + 17 * i / 200 + 1 );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -435,7 +442,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> this.buttons.button( value ? "disable" : "enable" );
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- _setOptions: spinnerModifer( function( options ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ _setOptions: spinnerModifier( function( options ) {
</ins><span class="cx" style="display: block; padding: 0 10px"> this._super( options );
</span><span class="cx" style="display: block; padding: 0 10px"> } ),
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -502,7 +509,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> this.uiSpinner.replaceWith( this.element );
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- stepUp: spinnerModifer( function( steps ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ stepUp: spinnerModifier( function( steps ) {
</ins><span class="cx" style="display: block; padding: 0 10px"> this._stepUp( steps );
</span><span class="cx" style="display: block; padding: 0 10px"> } ),
</span><span class="cx" style="display: block; padding: 0 10px"> _stepUp: function( steps ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -512,7 +519,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- stepDown: spinnerModifer( function( steps ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ stepDown: spinnerModifier( function( steps ) {
</ins><span class="cx" style="display: block; padding: 0 10px"> this._stepDown( steps );
</span><span class="cx" style="display: block; padding: 0 10px"> } ),
</span><span class="cx" style="display: block; padding: 0 10px"> _stepDown: function( steps ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -522,11 +529,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- pageUp: spinnerModifer( function( pages ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ pageUp: spinnerModifier( function( pages ) {
</ins><span class="cx" style="display: block; padding: 0 10px"> this._stepUp( ( pages || 1 ) * this.options.page );
</span><span class="cx" style="display: block; padding: 0 10px"> } ),
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- pageDown: spinnerModifer( function( pages ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ pageDown: spinnerModifier( function( pages ) {
</ins><span class="cx" style="display: block; padding: 0 10px"> this._stepDown( ( pages || 1 ) * this.options.page );
</span><span class="cx" style="display: block; padding: 0 10px"> } ),
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -534,7 +541,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> if ( !arguments.length ) {
</span><span class="cx" style="display: block; padding: 0 10px"> return this._parse( this.element.val() );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- spinnerModifer( this._value ).call( this, newVal );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ spinnerModifier( this._value ).call( this, newVal );
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> widget: function() {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -569,4 +576,4 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> return $.ui.spinner;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-} ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+} );
</ins></span></pre></div>
<a id="trunksrcjs_enqueuesvendorjqueryuitabsjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/js/_enqueues/vendor/jquery/ui/tabs.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/vendor/jquery/ui/tabs.js 2021-09-09 22:55:36 UTC (rev 51793)
+++ trunk/src/js/_enqueues/vendor/jquery/ui/tabs.js 2021-09-10 00:01:24 UTC (rev 51794)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,5 +1,5 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /*!
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * jQuery UI Tabs 1.12.1
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * jQuery UI Tabs 1.13.0-rc.2
</ins><span class="cx" style="display: block; padding: 0 10px"> * http://jqueryui.com
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Copyright jQuery Foundation and other contributors
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -17,6 +17,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> //>>css.theme: ../../themes/base/theme.css
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> ( function( factory ) {
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "use strict";
+
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( typeof define === "function" && define.amd ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // AMD. Register as an anonymous module.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -29,10 +31,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // Browser globals
</span><span class="cx" style="display: block; padding: 0 10px"> factory( jQuery );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-}( function( $ ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+} )( function( $ ) {
+"use strict";
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> $.widget( "ui.tabs", {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- version: "1.12.1",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ version: "1.13.0-rc.2",
</ins><span class="cx" style="display: block; padding: 0 10px"> delay: 300,
</span><span class="cx" style="display: block; padding: 0 10px"> options: {
</span><span class="cx" style="display: block; padding: 0 10px"> active: null,
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -90,8 +93,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // Take disabling tabs via class attribute from HTML
</span><span class="cx" style="display: block; padding: 0 10px"> // into account and update option properly.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- if ( $.isArray( options.disabled ) ) {
- options.disabled = $.unique( options.disabled.concat(
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( Array.isArray( options.disabled ) ) {
+ options.disabled = $.uniqueSort( options.disabled.concat(
</ins><span class="cx" style="display: block; padding: 0 10px"> $.map( this.tabs.filter( ".ui-state-disabled" ), function( li ) {
</span><span class="cx" style="display: block; padding: 0 10px"> return that.tabs.index( li );
</span><span class="cx" style="display: block; padding: 0 10px"> } )
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -426,7 +429,6 @@
</span><span class="cx" style="display: block; padding: 0 10px"> return $( "a", this )[ 0 ];
</span><span class="cx" style="display: block; padding: 0 10px"> } )
</span><span class="cx" style="display: block; padding: 0 10px"> .attr( {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- role: "presentation",
</del><span class="cx" style="display: block; padding: 0 10px"> tabIndex: -1
</span><span class="cx" style="display: block; padding: 0 10px"> } );
</span><span class="cx" style="display: block; padding: 0 10px"> this._addClass( this.anchors, "ui-tabs-anchor" );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -498,7 +500,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> _setOptionDisabled: function( disabled ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var currentItem, li, i;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- if ( $.isArray( disabled ) ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( Array.isArray( disabled ) ) {
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( !disabled.length ) {
</span><span class="cx" style="display: block; padding: 0 10px"> disabled = false;
</span><span class="cx" style="display: block; padding: 0 10px"> } else if ( disabled.length === this.anchors.length ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -729,7 +731,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // meta-function to give users option to provide a href string instead of a numerical index.
</span><span class="cx" style="display: block; padding: 0 10px"> if ( typeof index === "string" ) {
</span><span class="cx" style="display: block; padding: 0 10px"> index = this.anchors.index( this.anchors.filter( "[href$='" +
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $.ui.escapeSelector( index ) + "']" ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ $.escapeSelector( index ) + "']" ) );
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> return index;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -786,7 +788,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> disabled = false;
</span><span class="cx" style="display: block; padding: 0 10px"> } else {
</span><span class="cx" style="display: block; padding: 0 10px"> index = this._getIndex( index );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- if ( $.isArray( disabled ) ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( Array.isArray( disabled ) ) {
</ins><span class="cx" style="display: block; padding: 0 10px"> disabled = $.map( disabled, function( num ) {
</span><span class="cx" style="display: block; padding: 0 10px"> return num !== index ? num : null;
</span><span class="cx" style="display: block; padding: 0 10px"> } );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -812,7 +814,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> if ( $.inArray( index, disabled ) !== -1 ) {
</span><span class="cx" style="display: block; padding: 0 10px"> return;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- if ( $.isArray( disabled ) ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( Array.isArray( disabled ) ) {
</ins><span class="cx" style="display: block; padding: 0 10px"> disabled = $.merge( [ index ], disabled ).sort();
</span><span class="cx" style="display: block; padding: 0 10px"> } else {
</span><span class="cx" style="display: block; padding: 0 10px"> disabled = [ index ];
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -916,4 +918,4 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> return $.ui.tabs;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-} ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+} );
</ins></span></pre></div>
<a id="trunksrcjs_enqueuesvendorjqueryuitooltipjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/js/_enqueues/vendor/jquery/ui/tooltip.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/vendor/jquery/ui/tooltip.js 2021-09-09 22:55:36 UTC (rev 51793)
+++ trunk/src/js/_enqueues/vendor/jquery/ui/tooltip.js 2021-09-10 00:01:24 UTC (rev 51794)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,5 +1,5 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /*!
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * jQuery UI Tooltip 1.12.1
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * jQuery UI Tooltip 1.13.0-rc.2
</ins><span class="cx" style="display: block; padding: 0 10px"> * http://jqueryui.com
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Copyright jQuery Foundation and other contributors
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -17,6 +17,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> //>>css.theme: ../../themes/base/theme.css
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> ( function( factory ) {
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "use strict";
+
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( typeof define === "function" && define.amd ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // AMD. Register as an anonymous module.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -29,20 +31,18 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // Browser globals
</span><span class="cx" style="display: block; padding: 0 10px"> factory( jQuery );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-}( function( $ ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+} )( function( $ ) {
+"use strict";
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> $.widget( "ui.tooltip", {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- version: "1.12.1",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ version: "1.13.0-rc.2",
</ins><span class="cx" style="display: block; padding: 0 10px"> options: {
</span><span class="cx" style="display: block; padding: 0 10px"> classes: {
</span><span class="cx" style="display: block; padding: 0 10px"> "ui-tooltip": "ui-corner-all ui-widget-shadow"
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> content: function() {
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ var title = $( this ).attr( "title" );
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // support: IE<9, Opera in jQuery <1.7
- // .text() can't accept undefined, so coerce to a string
- var title = $( this ).attr( "title" ) || "";
-
</del><span class="cx" style="display: block; padding: 0 10px"> // Escape title, since we're going from an attribute to raw HTML
</span><span class="cx" style="display: block; padding: 0 10px"> return $( "<a>" ).text( title ).html();
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -68,7 +68,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> describedby.push( id );
</span><span class="cx" style="display: block; padding: 0 10px"> elem
</span><span class="cx" style="display: block; padding: 0 10px"> .data( "ui-tooltip-id", id )
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- .attr( "aria-describedby", $.trim( describedby.join( " " ) ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ .attr( "aria-describedby", String.prototype.trim.call( describedby.join( " " ) ) );
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> _removeDescribedBy: function( elem ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -81,7 +81,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> elem.removeData( "ui-tooltip-id" );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- describedby = $.trim( describedby.join( " " ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ describedby = String.prototype.trim.call( describedby.join( " " ) );
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( describedby ) {
</span><span class="cx" style="display: block; padding: 0 10px"> elem.attr( "aria-describedby", describedby );
</span><span class="cx" style="display: block; padding: 0 10px"> } else {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -327,7 +327,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> position( positionOption.of );
</span><span class="cx" style="display: block; padding: 0 10px"> clearInterval( delayedShow );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- }, $.fx.interval );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ }, 13 );
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> this._trigger( "open", event, { tooltip: tooltip } );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -448,6 +448,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> _removeTooltip: function( tooltip ) {
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
+ // Clear the interval for delayed tracking tooltips
+ clearInterval( this.delayedShow );
+
</ins><span class="cx" style="display: block; padding: 0 10px"> tooltip.remove();
</span><span class="cx" style="display: block; padding: 0 10px"> delete this.tooltips[ tooltip.attr( "id" ) ];
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -513,4 +517,4 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> return $.ui.tooltip;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-} ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+} );
</ins></span></pre></div>
<a id="trunksrcwpincludesscriptloaderphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/script-loader.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/script-loader.php 2021-09-09 22:55:36 UTC (rev 51793)
+++ trunk/src/wp-includes/script-loader.php 2021-09-10 00:01:24 UTC (rev 51794)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -756,55 +756,55 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // In order to keep backwards compatibility, and to keep the optimized loading,
</span><span class="cx" style="display: block; padding: 0 10px"> // the source files were flattened and included with some modifications for AMD loading.
</span><span class="cx" style="display: block; padding: 0 10px"> // A notable change is that 'jquery-ui-core' now contains 'jquery-ui-position' and 'jquery-ui-widget'.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $scripts->add( 'jquery-ui-core', "/wp-includes/js/jquery/ui/core$suffix.js", array( 'jquery' ), '1.12.1', 1 );
- $scripts->add( 'jquery-effects-core', "/wp-includes/js/jquery/ui/effect$suffix.js", array( 'jquery' ), '1.12.1', 1 );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ $scripts->add( 'jquery-ui-core', "/wp-includes/js/jquery/ui/core$suffix.js", array( 'jquery' ), '1.13.0-rc.2', 1 );
+ $scripts->add( 'jquery-effects-core', "/wp-includes/js/jquery/ui/effect$suffix.js", array( 'jquery' ), '1.13.0-rc.2', 1 );
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $scripts->add( 'jquery-effects-blind', "/wp-includes/js/jquery/ui/effect-blind$suffix.js", array( 'jquery-effects-core' ), '1.12.1', 1 );
- $scripts->add( 'jquery-effects-bounce', "/wp-includes/js/jquery/ui/effect-bounce$suffix.js", array( 'jquery-effects-core' ), '1.12.1', 1 );
- $scripts->add( 'jquery-effects-clip', "/wp-includes/js/jquery/ui/effect-clip$suffix.js", array( 'jquery-effects-core' ), '1.12.1', 1 );
- $scripts->add( 'jquery-effects-drop', "/wp-includes/js/jquery/ui/effect-drop$suffix.js", array( 'jquery-effects-core' ), '1.12.1', 1 );
- $scripts->add( 'jquery-effects-explode', "/wp-includes/js/jquery/ui/effect-explode$suffix.js", array( 'jquery-effects-core' ), '1.12.1', 1 );
- $scripts->add( 'jquery-effects-fade', "/wp-includes/js/jquery/ui/effect-fade$suffix.js", array( 'jquery-effects-core' ), '1.12.1', 1 );
- $scripts->add( 'jquery-effects-fold', "/wp-includes/js/jquery/ui/effect-fold$suffix.js", array( 'jquery-effects-core' ), '1.12.1', 1 );
- $scripts->add( 'jquery-effects-highlight', "/wp-includes/js/jquery/ui/effect-highlight$suffix.js", array( 'jquery-effects-core' ), '1.12.1', 1 );
- $scripts->add( 'jquery-effects-puff', "/wp-includes/js/jquery/ui/effect-puff$suffix.js", array( 'jquery-effects-core', 'jquery-effects-scale' ), '1.12.1', 1 );
- $scripts->add( 'jquery-effects-pulsate', "/wp-includes/js/jquery/ui/effect-pulsate$suffix.js", array( 'jquery-effects-core' ), '1.12.1', 1 );
- $scripts->add( 'jquery-effects-scale', "/wp-includes/js/jquery/ui/effect-scale$suffix.js", array( 'jquery-effects-core', 'jquery-effects-size' ), '1.12.1', 1 );
- $scripts->add( 'jquery-effects-shake', "/wp-includes/js/jquery/ui/effect-shake$suffix.js", array( 'jquery-effects-core' ), '1.12.1', 1 );
- $scripts->add( 'jquery-effects-size', "/wp-includes/js/jquery/ui/effect-size$suffix.js", array( 'jquery-effects-core' ), '1.12.1', 1 );
- $scripts->add( 'jquery-effects-slide', "/wp-includes/js/jquery/ui/effect-slide$suffix.js", array( 'jquery-effects-core' ), '1.12.1', 1 );
- $scripts->add( 'jquery-effects-transfer', "/wp-includes/js/jquery/ui/effect-transfer$suffix.js", array( 'jquery-effects-core' ), '1.12.1', 1 );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ $scripts->add( 'jquery-effects-blind', "/wp-includes/js/jquery/ui/effect-blind$suffix.js", array( 'jquery-effects-core' ), '1.13.0-rc.2', 1 );
+ $scripts->add( 'jquery-effects-bounce', "/wp-includes/js/jquery/ui/effect-bounce$suffix.js", array( 'jquery-effects-core' ), '1.13.0-rc.2', 1 );
+ $scripts->add( 'jquery-effects-clip', "/wp-includes/js/jquery/ui/effect-clip$suffix.js", array( 'jquery-effects-core' ), '1.13.0-rc.2', 1 );
+ $scripts->add( 'jquery-effects-drop', "/wp-includes/js/jquery/ui/effect-drop$suffix.js", array( 'jquery-effects-core' ), '1.13.0-rc.2', 1 );
+ $scripts->add( 'jquery-effects-explode', "/wp-includes/js/jquery/ui/effect-explode$suffix.js", array( 'jquery-effects-core' ), '1.13.0-rc.2', 1 );
+ $scripts->add( 'jquery-effects-fade', "/wp-includes/js/jquery/ui/effect-fade$suffix.js", array( 'jquery-effects-core' ), '1.13.0-rc.2', 1 );
+ $scripts->add( 'jquery-effects-fold', "/wp-includes/js/jquery/ui/effect-fold$suffix.js", array( 'jquery-effects-core' ), '1.13.0-rc.2', 1 );
+ $scripts->add( 'jquery-effects-highlight', "/wp-includes/js/jquery/ui/effect-highlight$suffix.js", array( 'jquery-effects-core' ), '1.13.0-rc.2', 1 );
+ $scripts->add( 'jquery-effects-puff', "/wp-includes/js/jquery/ui/effect-puff$suffix.js", array( 'jquery-effects-core', 'jquery-effects-scale' ), '1.13.0-rc.2', 1 );
+ $scripts->add( 'jquery-effects-pulsate', "/wp-includes/js/jquery/ui/effect-pulsate$suffix.js", array( 'jquery-effects-core' ), '1.13.0-rc.2', 1 );
+ $scripts->add( 'jquery-effects-scale', "/wp-includes/js/jquery/ui/effect-scale$suffix.js", array( 'jquery-effects-core', 'jquery-effects-size' ), '1.13.0-rc.2', 1 );
+ $scripts->add( 'jquery-effects-shake', "/wp-includes/js/jquery/ui/effect-shake$suffix.js", array( 'jquery-effects-core' ), '1.13.0-rc.2', 1 );
+ $scripts->add( 'jquery-effects-size', "/wp-includes/js/jquery/ui/effect-size$suffix.js", array( 'jquery-effects-core' ), '1.13.0-rc.2', 1 );
+ $scripts->add( 'jquery-effects-slide', "/wp-includes/js/jquery/ui/effect-slide$suffix.js", array( 'jquery-effects-core' ), '1.13.0-rc.2', 1 );
+ $scripts->add( 'jquery-effects-transfer', "/wp-includes/js/jquery/ui/effect-transfer$suffix.js", array( 'jquery-effects-core' ), '1.13.0-rc.2', 1 );
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // Widgets
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $scripts->add( 'jquery-ui-accordion', "/wp-includes/js/jquery/ui/accordion$suffix.js", array( 'jquery-ui-core' ), '1.12.1', 1 );
- $scripts->add( 'jquery-ui-autocomplete', "/wp-includes/js/jquery/ui/autocomplete$suffix.js", array( 'jquery-ui-menu', 'wp-a11y' ), '1.12.1', 1 );
- $scripts->add( 'jquery-ui-button', "/wp-includes/js/jquery/ui/button$suffix.js", array( 'jquery-ui-core', 'jquery-ui-controlgroup', 'jquery-ui-checkboxradio' ), '1.12.1', 1 );
- $scripts->add( 'jquery-ui-datepicker', "/wp-includes/js/jquery/ui/datepicker$suffix.js", array( 'jquery-ui-core' ), '1.12.1', 1 );
- $scripts->add( 'jquery-ui-dialog', "/wp-includes/js/jquery/ui/dialog$suffix.js", array( 'jquery-ui-resizable', 'jquery-ui-draggable', 'jquery-ui-button' ), '1.12.1', 1 );
- $scripts->add( 'jquery-ui-menu', "/wp-includes/js/jquery/ui/menu$suffix.js", array( 'jquery-ui-core' ), '1.12.1', 1 );
- $scripts->add( 'jquery-ui-mouse', "/wp-includes/js/jquery/ui/mouse$suffix.js", array( 'jquery-ui-core' ), '1.12.1', 1 );
- $scripts->add( 'jquery-ui-progressbar', "/wp-includes/js/jquery/ui/progressbar$suffix.js", array( 'jquery-ui-core' ), '1.12.1', 1 );
- $scripts->add( 'jquery-ui-selectmenu', "/wp-includes/js/jquery/ui/selectmenu$suffix.js", array( 'jquery-ui-menu' ), '1.12.1', 1 );
- $scripts->add( 'jquery-ui-slider', "/wp-includes/js/jquery/ui/slider$suffix.js", array( 'jquery-ui-mouse' ), '1.12.1', 1 );
- $scripts->add( 'jquery-ui-spinner', "/wp-includes/js/jquery/ui/spinner$suffix.js", array( 'jquery-ui-button' ), '1.12.1', 1 );
- $scripts->add( 'jquery-ui-tabs', "/wp-includes/js/jquery/ui/tabs$suffix.js", array( 'jquery-ui-core' ), '1.12.1', 1 );
- $scripts->add( 'jquery-ui-tooltip', "/wp-includes/js/jquery/ui/tooltip$suffix.js", array( 'jquery-ui-core' ), '1.12.1', 1 );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ $scripts->add( 'jquery-ui-accordion', "/wp-includes/js/jquery/ui/accordion$suffix.js", array( 'jquery-ui-core' ), '1.13.0-rc.2', 1 );
+ $scripts->add( 'jquery-ui-autocomplete', "/wp-includes/js/jquery/ui/autocomplete$suffix.js", array( 'jquery-ui-menu', 'wp-a11y' ), '1.13.0-rc.2', 1 );
+ $scripts->add( 'jquery-ui-button', "/wp-includes/js/jquery/ui/button$suffix.js", array( 'jquery-ui-core', 'jquery-ui-controlgroup', 'jquery-ui-checkboxradio' ), '1.13.0-rc.2', 1 );
+ $scripts->add( 'jquery-ui-datepicker', "/wp-includes/js/jquery/ui/datepicker$suffix.js", array( 'jquery-ui-core' ), '1.13.0-rc.2', 1 );
+ $scripts->add( 'jquery-ui-dialog', "/wp-includes/js/jquery/ui/dialog$suffix.js", array( 'jquery-ui-resizable', 'jquery-ui-draggable', 'jquery-ui-button' ), '1.13.0-rc.2', 1 );
+ $scripts->add( 'jquery-ui-menu', "/wp-includes/js/jquery/ui/menu$suffix.js", array( 'jquery-ui-core' ), '1.13.0-rc.2', 1 );
+ $scripts->add( 'jquery-ui-mouse', "/wp-includes/js/jquery/ui/mouse$suffix.js", array( 'jquery-ui-core' ), '1.13.0-rc.2', 1 );
+ $scripts->add( 'jquery-ui-progressbar', "/wp-includes/js/jquery/ui/progressbar$suffix.js", array( 'jquery-ui-core' ), '1.13.0-rc.2', 1 );
+ $scripts->add( 'jquery-ui-selectmenu', "/wp-includes/js/jquery/ui/selectmenu$suffix.js", array( 'jquery-ui-menu' ), '1.13.0-rc.2', 1 );
+ $scripts->add( 'jquery-ui-slider', "/wp-includes/js/jquery/ui/slider$suffix.js", array( 'jquery-ui-mouse' ), '1.13.0-rc.2', 1 );
+ $scripts->add( 'jquery-ui-spinner', "/wp-includes/js/jquery/ui/spinner$suffix.js", array( 'jquery-ui-button' ), '1.13.0-rc.2', 1 );
+ $scripts->add( 'jquery-ui-tabs', "/wp-includes/js/jquery/ui/tabs$suffix.js", array( 'jquery-ui-core' ), '1.13.0-rc.2', 1 );
+ $scripts->add( 'jquery-ui-tooltip', "/wp-includes/js/jquery/ui/tooltip$suffix.js", array( 'jquery-ui-core' ), '1.13.0-rc.2', 1 );
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // New in 1.12.1
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $scripts->add( 'jquery-ui-checkboxradio', "/wp-includes/js/jquery/ui/checkboxradio$suffix.js", array( 'jquery-ui-core' ), '1.12.1', 1 );
- $scripts->add( 'jquery-ui-controlgroup', "/wp-includes/js/jquery/ui/controlgroup$suffix.js", array( 'jquery-ui-core' ), '1.12.1', 1 );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ $scripts->add( 'jquery-ui-checkboxradio', "/wp-includes/js/jquery/ui/checkboxradio$suffix.js", array( 'jquery-ui-core' ), '1.13.0-rc.2', 1 );
+ $scripts->add( 'jquery-ui-controlgroup', "/wp-includes/js/jquery/ui/controlgroup$suffix.js", array( 'jquery-ui-core' ), '1.13.0-rc.2', 1 );
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // Interactions
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $scripts->add( 'jquery-ui-draggable', "/wp-includes/js/jquery/ui/draggable$suffix.js", array( 'jquery-ui-mouse' ), '1.12.1', 1 );
- $scripts->add( 'jquery-ui-droppable', "/wp-includes/js/jquery/ui/droppable$suffix.js", array( 'jquery-ui-draggable' ), '1.12.1', 1 );
- $scripts->add( 'jquery-ui-resizable', "/wp-includes/js/jquery/ui/resizable$suffix.js", array( 'jquery-ui-mouse' ), '1.12.1', 1 );
- $scripts->add( 'jquery-ui-selectable', "/wp-includes/js/jquery/ui/selectable$suffix.js", array( 'jquery-ui-mouse' ), '1.12.1', 1 );
- $scripts->add( 'jquery-ui-sortable', "/wp-includes/js/jquery/ui/sortable$suffix.js", array( 'jquery-ui-mouse' ), '1.12.1', 1 );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ $scripts->add( 'jquery-ui-draggable', "/wp-includes/js/jquery/ui/draggable$suffix.js", array( 'jquery-ui-mouse' ), '1.13.0-rc.2', 1 );
+ $scripts->add( 'jquery-ui-droppable', "/wp-includes/js/jquery/ui/droppable$suffix.js", array( 'jquery-ui-draggable' ), '1.13.0-rc.2', 1 );
+ $scripts->add( 'jquery-ui-resizable', "/wp-includes/js/jquery/ui/resizable$suffix.js", array( 'jquery-ui-mouse' ), '1.13.0-rc.2', 1 );
+ $scripts->add( 'jquery-ui-selectable', "/wp-includes/js/jquery/ui/selectable$suffix.js", array( 'jquery-ui-mouse' ), '1.13.0-rc.2', 1 );
+ $scripts->add( 'jquery-ui-sortable', "/wp-includes/js/jquery/ui/sortable$suffix.js", array( 'jquery-ui-mouse' ), '1.13.0-rc.2', 1 );
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // As of 1.12.1 `jquery-ui-position` and `jquery-ui-widget` are part of `jquery-ui-core`.
</span><span class="cx" style="display: block; padding: 0 10px"> // Listed here for back-compat.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $scripts->add( 'jquery-ui-position', false, array( 'jquery-ui-core' ), '1.12.1', 1 );
- $scripts->add( 'jquery-ui-widget', false, array( 'jquery-ui-core' ), '1.12.1', 1 );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ $scripts->add( 'jquery-ui-position', false, array( 'jquery-ui-core' ), '1.13.0-rc.2', 1 );
+ $scripts->add( 'jquery-ui-widget', false, array( 'jquery-ui-core' ), '1.13.0-rc.2', 1 );
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // Strings for 'jquery-ui-autocomplete' live region messages.
</span><span class="cx" style="display: block; padding: 0 10px"> did_action( 'init' ) && $scripts->localize(
</span></span></pre>
</div>
</div>
</body>
</html>