Changeset 54209
- Timestamp:
- 09/19/2022 06:02:11 PM (2 years ago)
- Location:
- trunk/src
- Files:
-
- 38 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/js/_enqueues/vendor/jquery/ui/accordion.js
r52648 r54209 1 1 /*! 2 * jQuery UI Accordion 1.13. 12 * jQuery UI Accordion 1.13.2 3 3 * http://jqueryui.com 4 4 * … … 38 38 39 39 return $.widget( "ui.accordion", { 40 version: "1.13. 1",40 version: "1.13.2", 41 41 options: { 42 42 active: 0, … … 205 205 206 206 switch ( event.keyCode ) { 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 207 case keyCode.RIGHT: 208 case keyCode.DOWN: 209 toFocus = this.headers[ ( currentIndex + 1 ) % length ]; 210 break; 211 case keyCode.LEFT: 212 case keyCode.UP: 213 toFocus = this.headers[ ( currentIndex - 1 + length ) % length ]; 214 break; 215 case keyCode.SPACE: 216 case keyCode.ENTER: 217 this._eventHandler( event ); 218 break; 219 case keyCode.HOME: 220 toFocus = this.headers[ 0 ]; 221 break; 222 case keyCode.END: 223 toFocus = this.headers[ length - 1 ]; 224 break; 225 225 } 226 226 … … 245 245 // Was collapsed or no panel 246 246 if ( ( options.active === false && options.collapsible === true ) || 247 !this.headers.length ) {247 !this.headers.length ) { 248 248 options.active = false; 249 249 this.active = $(); 250 250 251 251 // active false only when collapsible is true 252 252 } else if ( options.active === false ) { 253 253 this._activate( 0 ); 254 254 255 255 // was active, but active panel is gone 256 256 } else if ( this.active.length && !$.contains( this.element[ 0 ], this.active[ 0 ] ) ) { 257 257 … … 261 261 this.active = $(); 262 262 263 263 // activate previous panel 264 264 } else { 265 265 this._activate( Math.max( 0, options.active - 1 ) ); 266 266 } 267 267 268 268 // was active, active panel still exists 269 269 } else { 270 270 … … 323 323 } ) 324 324 .next() 325 .attr( "role", "tabpanel" );325 .attr( "role", "tabpanel" ); 326 326 327 327 this.headers 328 328 .not( this.active ) 329 .attr( {330 "aria-selected": "false",331 "aria-expanded": "false",332 tabIndex: -1333 } )334 .next()335 .attr( {336 "aria-hidden": "true"337 } )338 .hide();329 .attr( { 330 "aria-selected": "false", 331 "aria-expanded": "false", 332 tabIndex: -1 333 } ) 334 .next() 335 .attr( { 336 "aria-hidden": "true" 337 } ) 338 .hide(); 339 339 340 340 // Make sure at least one header is in the tab order … … 348 348 } ) 349 349 .next() 350 .attr( {351 "aria-hidden": "false"352 } );350 .attr( { 351 "aria-hidden": "false" 352 } ); 353 353 } 354 354 … … 455 455 if ( 456 456 457 // click on active header, but not collapsible458 ( clickedIsActive && !options.collapsible ) ||459 460 // allow canceling activation461 ( this._trigger( "beforeActivate", event, eventData ) === false ) ) {457 // click on active header, but not collapsible 458 ( clickedIsActive && !options.collapsible ) || 459 460 // allow canceling activation 461 ( this._trigger( "beforeActivate", event, eventData ) === false ) ) { 462 462 return; 463 463 } … … 535 535 .attr( "aria-hidden", "false" ) 536 536 .prev() 537 .attr( {538 "aria-selected": "true",539 "aria-expanded": "true",540 tabIndex: 0541 } );537 .attr( { 538 "aria-selected": "true", 539 "aria-expanded": "true", 540 tabIndex: 0 541 } ); 542 542 }, 543 543 -
trunk/src/js/_enqueues/vendor/jquery/ui/autocomplete.js
r52648 r54209 1 1 /*! 2 * jQuery UI Autocomplete 1.13. 12 * jQuery UI Autocomplete 1.13.2 3 3 * http://jqueryui.com 4 4 * … … 37 37 38 38 $.widget( "ui.autocomplete", { 39 version: "1.13. 1",39 version: "1.13.2", 40 40 defaultElement: "<input>", 41 41 options: { … … 105 105 var keyCode = $.ui.keyCode; 106 106 switch ( event.keyCode ) { 107 case keyCode.PAGE_UP: 107 case keyCode.PAGE_UP: 108 suppressKeyPress = true; 109 this._move( "previousPage", event ); 110 break; 111 case keyCode.PAGE_DOWN: 112 suppressKeyPress = true; 113 this._move( "nextPage", event ); 114 break; 115 case keyCode.UP: 116 suppressKeyPress = true; 117 this._keyEvent( "previous", event ); 118 break; 119 case keyCode.DOWN: 120 suppressKeyPress = true; 121 this._keyEvent( "next", event ); 122 break; 123 case keyCode.ENTER: 124 125 // when menu is open and has focus 126 if ( this.menu.active ) { 127 128 // #6055 - Opera still allows the keypress to occur 129 // which causes forms to submit 108 130 suppressKeyPress = true; 109 this._move( "previousPage", event ); 110 break; 111 case keyCode.PAGE_DOWN: 112 suppressKeyPress = true; 113 this._move( "nextPage", event ); 114 break; 115 case keyCode.UP: 116 suppressKeyPress = true; 117 this._keyEvent( "previous", event ); 118 break; 119 case keyCode.DOWN: 120 suppressKeyPress = true; 121 this._keyEvent( "next", event ); 122 break; 123 case keyCode.ENTER: 124 125 // when menu is open and has focus 126 if ( this.menu.active ) { 127 128 // #6055 - Opera still allows the keypress to occur 129 // which causes forms to submit 130 suppressKeyPress = true; 131 event.preventDefault(); 132 this.menu.select( event ); 131 event.preventDefault(); 132 this.menu.select( event ); 133 } 134 break; 135 case keyCode.TAB: 136 if ( this.menu.active ) { 137 this.menu.select( event ); 138 } 139 break; 140 case keyCode.ESCAPE: 141 if ( this.menu.element.is( ":visible" ) ) { 142 if ( !this.isMultiLine ) { 143 this._value( this.term ); 133 144 } 134 break; 135 case keyCode.TAB: 136 if ( this.menu.active ) { 137 this.menu.select( event ); 138 } 139 break; 140 case keyCode.ESCAPE: 141 if ( this.menu.element.is( ":visible" ) ) { 142 if ( !this.isMultiLine ) { 143 this._value( this.term ); 144 } 145 this.close( event ); 146 147 // Different browsers have different default behavior for escape 148 // Single press can mean undo or clear 149 // Double press in IE means clear the whole form 150 event.preventDefault(); 151 } 152 break; 153 default: 154 suppressKeyPressRepeat = true; 155 156 // search timeout should be triggered before the input value is changed 157 this._searchTimeout( event ); 158 break; 145 this.close( event ); 146 147 // Different browsers have different default behavior for escape 148 // Single press can mean undo or clear 149 // Double press in IE means clear the whole form 150 event.preventDefault(); 151 } 152 break; 153 default: 154 suppressKeyPressRepeat = true; 155 156 // search timeout should be triggered before the input value is changed 157 this._searchTimeout( event ); 158 break; 159 159 } 160 160 }, … … 174 174 var keyCode = $.ui.keyCode; 175 175 switch ( event.keyCode ) { 176 177 178 179 180 181 182 183 184 185 186 187 176 case keyCode.PAGE_UP: 177 this._move( "previousPage", event ); 178 break; 179 case keyCode.PAGE_DOWN: 180 this._move( "nextPage", event ); 181 break; 182 case keyCode.UP: 183 this._keyEvent( "previous", event ); 184 break; 185 case keyCode.DOWN: 186 this._keyEvent( "next", event ); 187 break; 188 188 } 189 189 }, … … 578 578 } 579 579 if ( this.menu.isFirstItem() && /^previous/.test( direction ) || 580 this.menu.isLastItem() && /^next/.test( direction ) ) {580 this.menu.isLastItem() && /^next/.test( direction ) ) { 581 581 582 582 if ( !this.isMultiLine ) { -
trunk/src/js/_enqueues/vendor/jquery/ui/button.js
r52648 r54209 1 1 /*! 2 * jQuery UI Button 1.13. 12 * jQuery UI Button 1.13.2 3 3 * http://jqueryui.com 4 4 * … … 42 42 43 43 $.widget( "ui.button", { 44 version: "1.13. 1",44 version: "1.13.2", 45 45 defaultElement: "<button>", 46 46 options: { … … 241 241 // Make sure we can't end up with a button that has neither text nor icon 242 242 if ( key === "showLabel" ) { 243 this._toggleClass( "ui-button-icon-only", null, !value );244 this._updateTooltip();243 this._toggleClass( "ui-button-icon-only", null, !value ); 244 this._updateTooltip(); 245 245 } 246 246 … … 307 307 } 308 308 if ( !this.options.icon && ( this.options.icons.primary || 309 this.options.icons.secondary ) ) {309 this.options.icons.secondary ) ) { 310 310 if ( this.options.icons.primary ) { 311 311 this.options.icon = this.options.icons.primary; -
trunk/src/js/_enqueues/vendor/jquery/ui/checkboxradio.js
r52648 r54209 1 1 /*! 2 * jQuery UI Checkboxradio 1.13. 12 * jQuery UI Checkboxradio 1.13.2 3 3 * http://jqueryui.com 4 4 * … … 37 37 38 38 $.widget( "ui.checkboxradio", [ $.ui.formResetMixin, { 39 version: "1.13. 1",39 version: "1.13.2", 40 40 options: { 41 41 disabled: null, … … 49 49 50 50 _getCreateOptions: function() { 51 var disabled, labels; 52 var that = this; 51 var disabled, labels, labelContents; 53 52 var options = this._super() || {}; 54 53 … … 70 69 // We need to get the label text but this may also need to make sure it does not contain the 71 70 // input itself. 72 this.label.contents().not( this.element[ 0 ] ).each( function() { 73 74 // The label contents could be text, html, or a mix. We concat each element to get a 75 // string representation of the label, without the input as part of it. 76 that.originalLabel += this.nodeType === 3 ? $( this ).text() : this.outerHTML; 77 } ); 71 // The label contents could be text, html, or a mix. We wrap all elements 72 // and read the wrapper's `innerHTML` to get a string representation of 73 // the label, without the input as part of it. 74 labelContents = this.label.contents().not( this.element[ 0 ] ); 75 76 if ( labelContents.length ) { 77 this.originalLabel += labelContents 78 .clone() 79 .wrapAll( "<div></div>" ) 80 .parent() 81 .html(); 82 } 78 83 79 84 // Set the label option if we found label text -
trunk/src/js/_enqueues/vendor/jquery/ui/controlgroup.js
r52648 r54209 1 1 /*! 2 * jQuery UI Controlgroup 1.13. 12 * jQuery UI Controlgroup 1.13.2 3 3 * http://jqueryui.com 4 4 * … … 37 37 var controlgroupCornerRegex = /ui-corner-([a-z]){2,6}/g; 38 38 39 return$.widget( "ui.controlgroup", {40 version: "1.13. 1",39 $.widget( "ui.controlgroup", { 40 version: "1.13.2", 41 41 defaultElement: "<div>", 42 42 options: { -
trunk/src/js/_enqueues/vendor/jquery/ui/core.js
r52648 r54209 1 /*! jQuery UI - v1.13. 1 - 2022-01-201 /*! jQuery UI - v1.13.2 - 2022-07-14 2 2 * http://jqueryui.com 3 * 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.js4 * Copyright jQuery Foundation and other contributors; Licensed */3 * Includes: widget.js, position.js, data.js, disable-selection.js, effect.js, effects/effect-blind.js, effects/effect-bounce.js, effects/effect-clip.js, effects/effect-drop.js, effects/effect-explode.js, effects/effect-fade.js, effects/effect-fold.js, effects/effect-highlight.js, effects/effect-puff.js, effects/effect-pulsate.js, effects/effect-scale.js, effects/effect-shake.js, effects/effect-size.js, effects/effect-slide.js, effects/effect-transfer.js, focusable.js, form-reset-mixin.js, jquery-patch.js, keycode.js, labels.js, scroll-parent.js, tabbable.js, unique-id.js, widgets/accordion.js, widgets/autocomplete.js, widgets/button.js, widgets/checkboxradio.js, widgets/controlgroup.js, widgets/datepicker.js, widgets/dialog.js, widgets/draggable.js, widgets/droppable.js, widgets/menu.js, widgets/mouse.js, widgets/progressbar.js, widgets/resizable.js, widgets/selectable.js, widgets/selectmenu.js, widgets/slider.js, widgets/sortable.js, widgets/spinner.js, widgets/tabs.js, widgets/tooltip.js 4 * Copyright jQuery Foundation and other contributors; Licensed MIT */ 5 5 ( function( factory ) { 6 6 "use strict"; … … 21 21 $.ui = $.ui || {}; 22 22 23 $.ui.version = "1.13. 1";23 $.ui.version = "1.13.2"; 24 24 25 25 // Source: data.js 26 26 /*! 27 * jQuery UI :data 1.13. 127 * jQuery UI :data 1.13.2 28 28 * http://jqueryui.com 29 29 * … … 54 54 // Source: disable-selection.js 55 55 /*! 56 * jQuery UI Disable Selection 1.13. 156 * jQuery UI Disable Selection 1.13.2 57 57 * http://jqueryui.com 58 58 * … … 88 88 // Source: focusable.js 89 89 /*! 90 * jQuery UI Focusable 1.13. 190 * jQuery UI Focusable 1.13.2 91 91 * http://jqueryui.com 92 92 * … … 165 165 // Source: form-reset-mixin.js 166 166 /*! 167 * jQuery UI Form Reset Mixin 1.13. 1167 * jQuery UI Form Reset Mixin 1.13.2 168 168 * http://jqueryui.com 169 169 * … … 230 230 // Source: jquery-patch.js 231 231 /*! 232 * jQuery UI Support for jQuery core 1.8.x and newer 1.13. 0232 * jQuery UI Support for jQuery core 1.8.x and newer 1.13.2 233 233 * http://jqueryui.com 234 234 * … … 304 304 // Source: keycode.js 305 305 /*! 306 * jQuery UI Keycode 1.13. 1306 * jQuery UI Keycode 1.13.2 307 307 * http://jqueryui.com 308 308 * … … 338 338 // Source: labels.js 339 339 /*! 340 * jQuery UI Labels 1.13. 1340 * jQuery UI Labels 1.13.2 341 341 * http://jqueryui.com 342 342 * … … 410 410 411 411 if ( !allowDisconnected && ( !instance.element[ 0 ].parentNode || 412 instance.element[ 0 ].parentNode.nodeType === 11 ) ) {412 instance.element[ 0 ].parentNode.nodeType === 11 ) ) { 413 413 return; 414 414 } … … 424 424 // Source: position.js 425 425 /*! 426 * jQuery UI Position 1.13. 1426 * jQuery UI Position 1.13.2 427 427 * http://jqueryui.com 428 428 * … … 957 957 // Source: scroll-parent.js 958 958 /*! 959 * jQuery UI Scroll Parent 1.13. 1959 * jQuery UI Scroll Parent 1.13.2 960 960 * http://jqueryui.com 961 961 * … … 990 990 // Source: tabbable.js 991 991 /*! 992 * jQuery UI Tabbable 1.13. 1992 * jQuery UI Tabbable 1.13.2 993 993 * http://jqueryui.com 994 994 * … … 1013 1013 // Source: unique-id.js 1014 1014 /*! 1015 * jQuery UI Unique ID 1.13. 11015 * jQuery UI Unique ID 1.13.2 1016 1016 * http://jqueryui.com 1017 1017 * … … 1050 1050 // Source: widget.js 1051 1051 /*! 1052 * jQuery UI Widget 1.13. 11052 * jQuery UI Widget 1.13.2 1053 1053 * http://jqueryui.com 1054 1054 * … … 1233 1233 $.widget.extend( {}, value ); 1234 1234 1235 1235 // Copy everything else by reference 1236 1236 } else { 1237 1237 target[ key ] = value; … … 1482 1482 currentElements = this.classesElementLookup[ classKey ]; 1483 1483 if ( value[ classKey ] === this.options.classes[ classKey ] || 1484 !currentElements ||1485 !currentElements.length ) {1484 !currentElements || 1485 !currentElements.length ) { 1486 1486 continue; 1487 1487 } … … 1643 1643 // - disabled class as method for disabling individual parts 1644 1644 if ( !suppressDisabledCheck && 1645 ( instance.options.disabled === true ||1645 ( instance.options.disabled === true || 1646 1646 $( this ).hasClass( "ui-state-disabled" ) ) ) { 1647 1647 return; -
trunk/src/js/_enqueues/vendor/jquery/ui/datepicker.js
r52648 r54209 1 1 /* eslint-disable max-len, camelcase */ 2 2 /*! 3 * jQuery UI Datepicker 1.13. 13 * jQuery UI Datepicker 1.13.2 4 4 * http://jqueryui.com 5 5 * … … 36 36 "use strict"; 37 37 38 $.extend( $.ui, { datepicker: { version: "1.13. 1" } } );38 $.extend( $.ui, { datepicker: { version: "1.13.2" } } ); 39 39 40 40 var datepicker_instActive; … … 108 108 this._defaults = { // Global defaults for all the date picker instances 109 109 showOn: "focus", // "focus" for popup on focus, 110 // "button" for trigger button, or "both" for either110 // "button" for trigger button, or "both" for either 111 111 showAnim: "fadeIn", // Name of jQuery animation for popup 112 112 showOptions: {}, // Options for enhanced animations 113 113 defaultDate: null, // Used when field is blank: actual date, 114 // +/-number for offset from today, null for today114 // +/-number for offset from today, null for today 115 115 appendText: "", // Display text following the input box, e.g. showing the format 116 116 buttonText: "...", // Text for trigger button … … 118 118 buttonImageOnly: false, // True if the image appears alone, false if it appears on a button 119 119 hideIfNoPrevNext: false, // True to hide next/previous month links 120 // if not applicable, false to just disable them120 // if not applicable, false to just disable them 121 121 navigationAsDateFormat: false, // True if date formatting applied to prev/today/next links 122 122 gotoCurrent: false, // True if today link goes back to current selection instead … … 124 124 changeYear: false, // True if year can be selected directly, false if only prev/next 125 125 yearRange: "c-10:c+10", // Range of years to display in drop-down, 126 // either relative to today's year (-nn:+nn), relative to currently displayed year127 // (c-nn:c+nn), absolute (nnnn:nnnn), or a combination of the above (nnnn:-n)126 // either relative to today's year (-nn:+nn), relative to currently displayed year 127 // (c-nn:c+nn), absolute (nnnn:nnnn), or a combination of the above (nnnn:-n) 128 128 showOtherMonths: false, // True to show dates in other months, false to leave blank 129 129 selectOtherMonths: false, // True to allow selection of dates in other months, false for unselectable 130 130 showWeek: false, // True to show week of the year, false to not show it 131 131 calculateWeek: this.iso8601Week, // How to calculate the week of the year, 132 // takes a Date and returns the number of the week for it132 // takes a Date and returns the number of the week for it 133 133 shortYearCutoff: "+10", // Short year values < this are in the current century, 134 // > this are in the previous century,135 // string value starting with "+" for current year + value134 // > this are in the previous century, 135 // string value starting with "+" for current year + value 136 136 minDate: null, // The earliest selectable date, or null for no limit 137 137 maxDate: null, // The latest selectable date, or null for no limit 138 138 duration: "fast", // Duration of display/closure 139 139 beforeShowDay: null, // Function that takes a date and returns an array with 140 // [0] = true if selectable, false if not, [1] = custom CSS class name(s) or "",141 // [2] = cell title (optional), e.g. $.datepicker.noWeekends140 // [0] = true if selectable, false if not, [1] = custom CSS class name(s) or "", 141 // [2] = cell title (optional), e.g. $.datepicker.noWeekends 142 142 beforeShow: null, // Function that takes an input field and 143 // returns a set of custom settings for the date picker143 // returns a set of custom settings for the date picker 144 144 onSelect: null, // Define a callback function when a date is selected 145 145 onChangeMonthYear: null, // Define a callback function when the month or year is changed … … 214 214 inline: inline, // is datepicker inline or not 215 215 dpDiv: ( !inline ? this.dpDiv : // presentation div 216 216 datepicker_bindHover( $( "<div class='" + this._inlineClass + " ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>" ) ) ) }; 217 217 }, 218 218 … … 227 227 this._attachments( input, inst ); 228 228 input.addClass( this.markerClassName ).on( "keydown", this._doKeyDown ). 229 on( "keypress", this._doKeyPress ).on( "keyup", this._doKeyUp );229 on( "keypress", this._doKeyPress ).on( "keyup", this._doKeyUp ); 230 230 this._autoSize( inst ); 231 231 $.data( target, "datepicker", inst ); … … 427 427 inst.trigger.remove(); 428 428 $target.removeClass( this.markerClassName ). 429 off( "focus", this._showDatepicker ).430 off( "keydown", this._doKeyDown ).431 off( "keypress", this._doKeyPress ).432 off( "keyup", this._doKeyUp );429 off( "focus", this._showDatepicker ). 430 off( "keydown", this._doKeyDown ). 431 off( "keypress", this._doKeyPress ). 432 off( "keyup", this._doKeyUp ); 433 433 } else if ( nodeName === "div" || nodeName === "span" ) { 434 434 $target.removeClass( this.markerClassName ).empty(); … … 457 457 target.disabled = false; 458 458 inst.trigger.filter( "button" ). 459 each( function() {460 this.disabled = false;461 } ).end().462 filter( "img" ).css( { opacity: "1.0", cursor: "" } );459 each( function() { 460 this.disabled = false; 461 } ).end(). 462 filter( "img" ).css( { opacity: "1.0", cursor: "" } ); 463 463 } else if ( nodeName === "div" || nodeName === "span" ) { 464 464 inline = $target.children( "." + this._inlineClass ); 465 465 inline.children().removeClass( "ui-state-disabled" ); 466 466 inline.find( "select.ui-datepicker-month, select.ui-datepicker-year" ). 467 prop( "disabled", false );467 prop( "disabled", false ); 468 468 } 469 469 this._disabledInputs = $.map( this._disabledInputs, … … 491 491 target.disabled = true; 492 492 inst.trigger.filter( "button" ). 493 each( function() {494 this.disabled = true;495 } ).end().496 filter( "img" ).css( { opacity: "0.5", cursor: "default" } );493 each( function() { 494 this.disabled = true; 495 } ).end(). 496 filter( "img" ).css( { opacity: "0.5", cursor: "default" } ); 497 497 } else if ( nodeName === "div" || nodeName === "span" ) { 498 498 inline = $target.children( "." + this._inlineClass ); 499 499 inline.children().addClass( "ui-state-disabled" ); 500 500 inline.find( "select.ui-datepicker-month, select.ui-datepicker-year" ). 501 prop( "disabled", true );501 prop( "disabled", true ); 502 502 } 503 503 this._disabledInputs = $.map( this._disabledInputs, … … 555 555 return ( name === "defaults" ? $.extend( {}, $.datepicker._defaults ) : 556 556 ( inst ? ( name === "all" ? $.extend( {}, inst.settings ) : 557 557 this._get( inst, name ) ) : null ) ); 558 558 } 559 559 … … 648 648 switch ( event.keyCode ) { 649 649 case 9: $.datepicker._hideDatepicker(); 650 handled = false;651 break; // hide on tab out650 handled = false; 651 break; // hide on tab out 652 652 case 13: sel = $( "td." + $.datepicker._dayOverClass + ":not(." + 653 $.datepicker._currentClass + ")", inst.dpDiv );654 if ( sel[ 0 ] ) {655 $.datepicker._selectDay( event.target, inst.selectedMonth, inst.selectedYear, sel[ 0 ] );656 }657 658 onSelect = $.datepicker._get( inst, "onSelect" );659 if ( onSelect ) {660 dateStr = $.datepicker._formatDate( inst );661 662 // Trigger custom callback663 onSelect.apply( ( inst.input ? inst.input[ 0 ] : null ), [ dateStr, inst ] );664 } else {665 $.datepicker._hideDatepicker();666 }667 668 return false; // don't submit the form653 $.datepicker._currentClass + ")", inst.dpDiv ); 654 if ( sel[ 0 ] ) { 655 $.datepicker._selectDay( event.target, inst.selectedMonth, inst.selectedYear, sel[ 0 ] ); 656 } 657 658 onSelect = $.datepicker._get( inst, "onSelect" ); 659 if ( onSelect ) { 660 dateStr = $.datepicker._formatDate( inst ); 661 662 // Trigger custom callback 663 onSelect.apply( ( inst.input ? inst.input[ 0 ] : null ), [ dateStr, inst ] ); 664 } else { 665 $.datepicker._hideDatepicker(); 666 } 667 668 return false; // don't submit the form 669 669 case 27: $.datepicker._hideDatepicker(); 670 break; // hide on escape670 break; // hide on escape 671 671 case 33: $.datepicker._adjustDate( event.target, ( event.ctrlKey ? 672 -$.datepicker._get( inst, "stepBigMonths" ) :673 -$.datepicker._get( inst, "stepMonths" ) ), "M" );674 break; // previous month/year on page up/+ ctrl675 case 34: $.datepicker._adjustDate( event.target, ( event.ctrlKey ?676 +$.datepicker._get( inst, "stepBigMonths" ) :677 +$.datepicker._get( inst, "stepMonths" ) ), "M" );678 break; // next month/year on page down/+ ctrl679 case 35: if ( event.ctrlKey || event.metaKey ) {680 $.datepicker._clearDate( event.target );681 }682 handled = event.ctrlKey || event.metaKey;683 break; // clear on ctrl or command +end684 case 36: if ( event.ctrlKey || event.metaKey ) {685 $.datepicker._gotoToday( event.target );686 }687 handled = event.ctrlKey || event.metaKey;688 break; // current on ctrl or command +home689 case 37: if ( event.ctrlKey || event.metaKey ) {690 $.datepicker._adjustDate( event.target, ( isRTL ? +1 : -1 ), "D" );691 }692 handled = event.ctrlKey || event.metaKey;693 694 // -1 day on ctrl or command +left695 if ( event.originalEvent.altKey ) {696 $.datepicker._adjustDate( event.target, ( event.ctrlKey ?697 672 -$.datepicker._get( inst, "stepBigMonths" ) : 698 673 -$.datepicker._get( inst, "stepMonths" ) ), "M" ); 699 } 700 701 // next month/year on alt +left on Mac 702 break; 703 case 38: if ( event.ctrlKey || event.metaKey ) { 704 $.datepicker._adjustDate( event.target, -7, "D" ); 705 } 706 handled = event.ctrlKey || event.metaKey; 707 break; // -1 week on ctrl or command +up 708 case 39: if ( event.ctrlKey || event.metaKey ) { 709 $.datepicker._adjustDate( event.target, ( isRTL ? -1 : +1 ), "D" ); 710 } 711 handled = event.ctrlKey || event.metaKey; 712 713 // +1 day on ctrl or command +right 714 if ( event.originalEvent.altKey ) { 715 $.datepicker._adjustDate( event.target, ( event.ctrlKey ? 674 break; // previous month/year on page up/+ ctrl 675 case 34: $.datepicker._adjustDate( event.target, ( event.ctrlKey ? 716 676 +$.datepicker._get( inst, "stepBigMonths" ) : 717 677 +$.datepicker._get( inst, "stepMonths" ) ), "M" ); 718 } 719 720 // next month/year on alt +right 721 break; 678 break; // next month/year on page down/+ ctrl 679 case 35: if ( event.ctrlKey || event.metaKey ) { 680 $.datepicker._clearDate( event.target ); 681 } 682 handled = event.ctrlKey || event.metaKey; 683 break; // clear on ctrl or command +end 684 case 36: if ( event.ctrlKey || event.metaKey ) { 685 $.datepicker._gotoToday( event.target ); 686 } 687 handled = event.ctrlKey || event.metaKey; 688 break; // current on ctrl or command +home 689 case 37: if ( event.ctrlKey || event.metaKey ) { 690 $.datepicker._adjustDate( event.target, ( isRTL ? +1 : -1 ), "D" ); 691 } 692 handled = event.ctrlKey || event.metaKey; 693 694 // -1 day on ctrl or command +left 695 if ( event.originalEvent.altKey ) { 696 $.datepicker._adjustDate( event.target, ( event.ctrlKey ? 697 -$.datepicker._get( inst, "stepBigMonths" ) : 698 -$.datepicker._get( inst, "stepMonths" ) ), "M" ); 699 } 700 701 // next month/year on alt +left on Mac 702 break; 703 case 38: if ( event.ctrlKey || event.metaKey ) { 704 $.datepicker._adjustDate( event.target, -7, "D" ); 705 } 706 handled = event.ctrlKey || event.metaKey; 707 break; // -1 week on ctrl or command +up 708 case 39: if ( event.ctrlKey || event.metaKey ) { 709 $.datepicker._adjustDate( event.target, ( isRTL ? -1 : +1 ), "D" ); 710 } 711 handled = event.ctrlKey || event.metaKey; 712 713 // +1 day on ctrl or command +right 714 if ( event.originalEvent.altKey ) { 715 $.datepicker._adjustDate( event.target, ( event.ctrlKey ? 716 +$.datepicker._get( inst, "stepBigMonths" ) : 717 +$.datepicker._get( inst, "stepMonths" ) ), "M" ); 718 } 719 720 // next month/year on alt +right 721 break; 722 722 case 40: if ( event.ctrlKey || event.metaKey ) { 723 $.datepicker._adjustDate( event.target, +7, "D" );724 }725 handled = event.ctrlKey || event.metaKey;726 break; // +1 week on ctrl or command +down723 $.datepicker._adjustDate( event.target, +7, "D" ); 724 } 725 handled = event.ctrlKey || event.metaKey; 726 break; // +1 week on ctrl or command +down 727 727 default: handled = false; 728 728 } … … 838 838 offset = $.datepicker._checkOffset( inst, offset, isFixed ); 839 839 inst.dpDiv.css( { position: ( $.datepicker._inDialog && $.blockUI ? 840 840 "static" : ( isFixed ? "fixed" : "absolute" ) ), display: "none", 841 841 left: offset.left + "px", top: offset.top + "px" } ); 842 842 … … 884 884 } 885 885 inst.dpDiv[ ( numMonths[ 0 ] !== 1 || numMonths[ 1 ] !== 1 ? "add" : "remove" ) + 886 "Class" ]( "ui-datepicker-multi" );886 "Class" ]( "ui-datepicker-multi" ); 887 887 inst.dpDiv[ ( this._get( inst, "isRTL" ) ? "add" : "remove" ) + 888 "Class" ]( "ui-datepicker-rtl" );888 "Class" ]( "ui-datepicker-rtl" ); 889 889 890 890 if ( inst === $.datepicker._curInst && $.datepicker._datepickerShowing && $.datepicker._shouldFocusInput( inst ) ) { … … 1021 1021 $.datepicker._datepickerShowing && !( $.datepicker._inDialog && $.blockUI ) ) ) || 1022 1022 ( $target.hasClass( $.datepicker.markerClassName ) && $.datepicker._curInst !== inst ) ) { 1023 $.datepicker._hideDatepicker();1023 $.datepicker._hideDatepicker(); 1024 1024 } 1025 1025 }, … … 1063 1063 1064 1064 inst[ "selected" + ( period === "M" ? "Month" : "Year" ) ] = 1065 1066 1065 inst[ "draw" + ( period === "M" ? "Month" : "Year" ) ] = 1066 parseInt( select.options[ select.selectedIndex ].value, 10 ); 1067 1067 1068 1068 this._notifyChange( inst ); … … 1215 1215 var isDoubled = lookAhead( match ), 1216 1216 size = ( match === "@" ? 14 : ( match === "!" ? 20 : 1217 1217 ( match === "y" && isDoubled ? 4 : ( match === "o" ? 3 : 2 ) ) ) ), 1218 1218 minSize = ( match === "y" ? size : 1 ), 1219 1219 digits = new RegExp( "^\\d{" + minSize + "," + size + "}" ), … … 1578 1578 1579 1579 var date = ( offset.toLowerCase().match( /^c/ ) ? 1580 1580 $.datepicker._getDate( inst ) : null ) || new Date(), 1581 1581 year = date.getFullYear(), 1582 1582 month = date.getMonth(), … … 1655 1655 var startDate = ( !inst.currentYear || ( inst.input && inst.input.val() === "" ) ? null : 1656 1656 this._daylightSavingAdjust( new Date( 1657 1658 return startDate;1657 inst.currentYear, inst.currentMonth, inst.currentDay ) ) ); 1658 return startDate; 1659 1659 }, 1660 1660 … … 1883 1883 ( /all|right/.test( cornerClass ) && row === 0 ? ( isRTL ? prev : next ) : "" ) + 1884 1884 this._generateMonthYearHeader( inst, drawMonth, drawYear, minDate, maxDate, 1885 1885 row > 0 || col > 0, monthNames, monthNamesShort ) + // draw month headers 1886 1886 "</div><table class='ui-datepicker-calendar'><thead>" + 1887 1887 "<tr>"; … … 1918 1918 ( defaultDate.getTime() === printDate.getTime() && defaultDate.getTime() === selectedDate.getTime() ) ? 1919 1919 1920 1921 1920 // or defaultDate is current printedDate and defaultDate is selectedDate 1921 " " + this._dayOverClass : "" ) + // highlight selected day 1922 1922 ( unselectable ? " " + this._unselectableClass + " ui-state-disabled" : "" ) + // highlight unselectable days 1923 1923 ( otherMonth && !showOtherMonths ? "" : " " + daySettings[ 1 ] + // highlight custom dates 1924 1925 1924 ( printDate.getTime() === currentDate.getTime() ? " " + this._currentClass : "" ) + // highlight selected day 1925 ( printDate.getTime() === today.getTime() ? " ui-datepicker-today" : "" ) ) + "'" + // highlight today (if different) 1926 1926 ( ( !otherMonth || showOtherMonths ) && daySettings[ 2 ] ? " title='" + daySettings[ 2 ].replace( /'/g, "'" ) + "'" : "" ) + // cell title 1927 1927 ( unselectable ? "" : " data-handler='selectDay' data-event='click' data-month='" + printDate.getMonth() + "' data-year='" + printDate.getFullYear() + "'" ) + ">" + // actions 1928 1928 ( otherMonth && !showOtherMonths ? " " : // display for other months 1929 1930 1931 1932 1933 1934 1935 1929 ( unselectable ? "<span class='ui-state-default'>" + printDate.getDate() + "</span>" : "<a class='ui-state-default" + 1930 ( printDate.getTime() === today.getTime() ? " ui-state-highlight" : "" ) + 1931 ( printDate.getTime() === currentDate.getTime() ? " ui-state-active" : "" ) + // highlight selected day 1932 ( otherMonth ? " ui-priority-secondary" : "" ) + // distinguish dates from other months 1933 "' href='#' aria-current='" + ( printDate.getTime() === currentDate.getTime() ? "true" : "false" ) + // mark date as selected for screen reader 1934 "' data-date='" + printDate.getDate() + // store date as data 1935 "'>" + printDate.getDate() + "</a>" ) ) + "</td>"; // display selectable date 1936 1936 printDate.setDate( printDate.getDate() + 1 ); 1937 1937 printDate = this._daylightSavingAdjust( printDate ); … … 1945 1945 } 1946 1946 calender += "</tbody></table>" + ( isMultiMonth ? "</div>" + 1947 ( ( numMonths[ 0 ] > 0 && col === numMonths[ 1 ] - 1 ) ? "<div class='ui-datepicker-row-break'></div>" : "" ) : "" );1947 ( ( numMonths[ 0 ] > 0 && col === numMonths[ 1 ] - 1 ) ? "<div class='ui-datepicker-row-break'></div>" : "" ) : "" ); 1948 1948 group += calender; 1949 1949 } … … 1957 1957 /* Generate the month and year header. */ 1958 1958 _generateMonthYearHeader: function( inst, drawMonth, drawYear, minDate, maxDate, 1959 1959 secondary, monthNames, monthNamesShort ) { 1960 1960 1961 1961 var inMinYear, inMaxYear, month, years, thisYear, determineYear, year, endYear, … … 2002 2002 var year = ( value.match( /c[+\-].*/ ) ? drawYear + parseInt( value.substring( 1 ), 10 ) : 2003 2003 ( value.match( /[+\-].*/ ) ? thisYear + parseInt( value, 10 ) : 2004 2004 parseInt( value, 10 ) ) ); 2005 2005 return ( isNaN( year ) ? thisYear : year ); 2006 2006 }; … … 2087 2087 var numMonths = this._getNumberOfMonths( inst ), 2088 2088 date = this._daylightSavingAdjust( new Date( curYear, 2089 2089 curMonth + ( offset < 0 ? offset : numMonths[ 0 ] * numMonths[ 1 ] ), 1 ) ); 2090 2090 2091 2091 if ( offset < 0 ) { … … 2103 2103 maxYear = null, 2104 2104 years = this._get( inst, "yearRange" ); 2105 if ( years ) {2106 yearSplit = years.split( ":" );2107 currentYear = new Date().getFullYear();2108 minYear = parseInt( yearSplit[ 0 ], 10 );2109 maxYear = parseInt( yearSplit[ 1 ], 10 );2110 if ( yearSplit[ 0 ].match( /[+\-].*/ ) ) {2111 minYear += currentYear;2112 }2113 if ( yearSplit[ 1 ].match( /[+\-].*/ ) ) {2114 maxYear += currentYear;2115 }2116 }2105 if ( years ) { 2106 yearSplit = years.split( ":" ); 2107 currentYear = new Date().getFullYear(); 2108 minYear = parseInt( yearSplit[ 0 ], 10 ); 2109 maxYear = parseInt( yearSplit[ 1 ], 10 ); 2110 if ( yearSplit[ 0 ].match( /[+\-].*/ ) ) { 2111 minYear += currentYear; 2112 } 2113 if ( yearSplit[ 1 ].match( /[+\-].*/ ) ) { 2114 maxYear += currentYear; 2115 } 2116 } 2117 2117 2118 2118 return ( ( !minDate || date.getTime() >= minDate.getTime() ) && … … 2140 2140 } 2141 2141 var date = ( day ? ( typeof day === "object" ? day : 2142 2142 this._daylightSavingAdjust( new Date( year, month, day ) ) ) : 2143 2143 this._daylightSavingAdjust( new Date( inst.currentYear, inst.currentMonth, inst.currentDay ) ) ); 2144 2144 return this.formatDate( this._get( inst, "dateFormat" ), date, this._getFormatConfig( inst ) ); … … 2154 2154 var selector = "button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a"; 2155 2155 return dpDiv.on( "mouseout", selector, function() { 2156 $( this ).removeClass( "ui-state-hover" );2157 if ( this.className.indexOf( "ui-datepicker-prev" ) !== -1 ) {2158 $( this ).removeClass( "ui-datepicker-prev-hover" );2159 }2160 if ( this.className.indexOf( "ui-datepicker-next" ) !== -1 ) {2161 $( this ).removeClass( "ui-datepicker-next-hover" );2162 }2163 } )2156 $( this ).removeClass( "ui-state-hover" ); 2157 if ( this.className.indexOf( "ui-datepicker-prev" ) !== -1 ) { 2158 $( this ).removeClass( "ui-datepicker-prev-hover" ); 2159 } 2160 if ( this.className.indexOf( "ui-datepicker-next" ) !== -1 ) { 2161 $( this ).removeClass( "ui-datepicker-next-hover" ); 2162 } 2163 } ) 2164 2164 .on( "mouseover", selector, datepicker_handleMouseover ); 2165 2165 } … … 2214 2214 if ( typeof options === "string" && ( options === "isDisabled" || options === "getDate" || options === "widget" ) ) { 2215 2215 return $.datepicker[ "_" + options + "Datepicker" ]. 2216 apply( $.datepicker, [ this[ 0 ] ].concat( otherArgs ) );2216 apply( $.datepicker, [ this[ 0 ] ].concat( otherArgs ) ); 2217 2217 } 2218 2218 if ( options === "option" && arguments.length === 2 && typeof arguments[ 1 ] === "string" ) { 2219 2219 return $.datepicker[ "_" + options + "Datepicker" ]. 2220 apply( $.datepicker, [ this[ 0 ] ].concat( otherArgs ) );2220 apply( $.datepicker, [ this[ 0 ] ].concat( otherArgs ) ); 2221 2221 } 2222 2222 return this.each( function() { … … 2233 2233 $.datepicker.initialized = false; 2234 2234 $.datepicker.uuid = new Date().getTime(); 2235 $.datepicker.version = "1.13. 1";2235 $.datepicker.version = "1.13.2"; 2236 2236 2237 2237 return $.datepicker; -
trunk/src/js/_enqueues/vendor/jquery/ui/dialog.js
r52648 r54209 1 1 /*! 2 * jQuery UI Dialog 1.13. 12 * jQuery UI Dialog 1.13.2 3 3 * http://jqueryui.com 4 4 * … … 40 40 41 41 $.widget( "ui.dialog", { 42 version: "1.13. 1",42 version: "1.13.2", 43 43 options: { 44 44 appendTo: "body", … … 355 355 keydown: function( event ) { 356 356 if ( this.options.closeOnEscape && !event.isDefaultPrevented() && event.keyCode && 357 event.keyCode === $.ui.keyCode.ESCAPE ) {357 event.keyCode === $.ui.keyCode.ESCAPE ) { 358 358 event.preventDefault(); 359 359 this.close( event ); … … 370 370 371 371 if ( ( event.target === last[ 0 ] || event.target === this.uiDialog[ 0 ] ) && 372 !event.shiftKey ) {372 !event.shiftKey ) { 373 373 this._delay( function() { 374 374 first.trigger( "focus" ); … … 376 376 event.preventDefault(); 377 377 } else if ( ( event.target === first[ 0 ] || 378 event.target === this.uiDialog[ 0 ] ) && event.shiftKey ) {378 event.target === this.uiDialog[ 0 ] ) && event.shiftKey ) { 379 379 this._delay( function() { 380 380 last.trigger( "focus" ); -
trunk/src/js/_enqueues/vendor/jquery/ui/draggable.js
r52648 r54209 1 1 /*! 2 * jQuery UI Draggable 1.13. 12 * jQuery UI Draggable 1.13.2 3 3 * http://jqueryui.com 4 4 * … … 35 35 36 36 $.widget( "ui.draggable", $.ui.mouse, { 37 version: "1.13. 1",37 version: "1.13.2", 38 38 widgetEventPrefix: "drag", 39 39 options: { … … 103 103 // Among others, prevent a drag on a resizable-handle 104 104 if ( this.helper || o.disabled || 105 $( event.target ).closest( ".ui-resizable-handle" ).length > 0 ) {105 $( event.target ).closest( ".ui-resizable-handle" ).length > 0 ) { 106 106 return false; 107 107 } … … 186 186 this.offsetParent = this.helper.offsetParent(); 187 187 this.hasFixedAncestor = this.helper.parents().filter( function() { 188 return $( this ).css( "position" ) === "fixed";189 } ).length > 0;188 return $( this ).css( "position" ) === "fixed"; 189 } ).length > 0; 190 190 191 191 //The element's absolute position on the page minus margins … … 295 295 296 296 if ( ( this.options.revert === "invalid" && !dropped ) || 297 ( this.options.revert === "valid" && dropped ) ||298 this.options.revert === true || ( typeof this.options.revert === "function" &&297 ( this.options.revert === "valid" && dropped ) || 298 this.options.revert === true || ( typeof this.options.revert === "function" && 299 299 this.options.revert.call( this.element, dropped ) ) 300 300 ) { … … 389 389 390 390 if ( helper[ 0 ] !== this.element[ 0 ] && 391 !( /(fixed|absolute)/ ).test( helper.css( "position" ) ) ) {391 !( /(fixed|absolute)/ ).test( helper.css( "position" ) ) ) { 392 392 helper.css( "position", "absolute" ); 393 393 } … … 442 442 // offset of the parent, and never recalculated upon drag 443 443 if ( this.cssPosition === "absolute" && this.scrollParent[ 0 ] !== document && 444 $.contains( this.scrollParent[ 0 ], this.offsetParent[ 0 ] ) ) {444 $.contains( this.scrollParent[ 0 ], this.offsetParent[ 0 ] ) ) { 445 445 po.left += this.scrollParent.scrollLeft(); 446 446 po.top += this.scrollParent.scrollTop(); … … 509 509 $( window ).scrollTop() - this.offset.relative.top - this.offset.parent.top, 510 510 $( window ).scrollLeft() + $( window ).width() - 511 this.helperProportions.width - this.margins.left,511 this.helperProportions.width - this.margins.left, 512 512 $( window ).scrollTop() + 513 ( $( window ).height() || document.body.parentNode.scrollHeight ) -514 this.helperProportions.height - this.margins.top513 ( $( window ).height() || document.body.parentNode.scrollHeight ) - 514 this.helperProportions.height - this.margins.top 515 515 ]; 516 516 return; … … 523 523 $( document ).width() - this.helperProportions.width - this.margins.left, 524 524 ( $( document ).height() || document.body.parentNode.scrollHeight ) - 525 this.helperProportions.height - this.margins.top525 this.helperProportions.height - this.margins.top 526 526 ]; 527 527 return; … … 548 548 this.containment = [ 549 549 ( parseInt( c.css( "borderLeftWidth" ), 10 ) || 0 ) + 550 ( parseInt( c.css( "paddingLeft" ), 10 ) || 0 ),550 ( parseInt( c.css( "paddingLeft" ), 10 ) || 0 ), 551 551 ( parseInt( c.css( "borderTopWidth" ), 10 ) || 0 ) + 552 ( parseInt( c.css( "paddingTop" ), 10 ) || 0 ),552 ( parseInt( c.css( "paddingTop" ), 10 ) || 0 ), 553 553 ( isUserScrollable ? Math.max( ce.scrollWidth, ce.offsetWidth ) : ce.offsetWidth ) - 554 ( parseInt( c.css( "borderRightWidth" ), 10 ) || 0 ) -555 ( parseInt( c.css( "paddingRight" ), 10 ) || 0 ) -556 this.helperProportions.width -557 this.margins.left -558 this.margins.right,554 ( parseInt( c.css( "borderRightWidth" ), 10 ) || 0 ) - 555 ( parseInt( c.css( "paddingRight" ), 10 ) || 0 ) - 556 this.helperProportions.width - 557 this.margins.left - 558 this.margins.right, 559 559 ( isUserScrollable ? Math.max( ce.scrollHeight, ce.offsetHeight ) : ce.offsetHeight ) - 560 ( parseInt( c.css( "borderBottomWidth" ), 10 ) || 0 ) -561 ( parseInt( c.css( "paddingBottom" ), 10 ) || 0 ) -562 this.helperProportions.height -563 this.margins.top -564 this.margins.bottom560 ( parseInt( c.css( "borderBottomWidth" ), 10 ) || 0 ) - 561 ( parseInt( c.css( "paddingBottom" ), 10 ) || 0 ) - 562 this.helperProportions.height - 563 this.margins.top - 564 this.margins.bottom 565 565 ]; 566 566 this.relativeContainer = c; … … 667 667 pageY = containment ? ( ( top - this.offset.click.top >= containment[ 1 ] || 668 668 top - this.offset.click.top > containment[ 3 ] ) ? 669 top :670 ( ( top - this.offset.click.top >= containment[ 1 ] ) ?671 top - o.grid[ 1 ] : top + o.grid[ 1 ] ) ) : top;669 top : 670 ( ( top - this.offset.click.top >= containment[ 1 ] ) ? 671 top - o.grid[ 1 ] : top + o.grid[ 1 ] ) ) : top; 672 672 673 673 left = o.grid[ 0 ] ? this.originalPageX + … … 676 676 pageX = containment ? ( ( left - this.offset.click.left >= containment[ 0 ] || 677 677 left - this.offset.click.left > containment[ 2 ] ) ? 678 left :679 ( ( left - this.offset.click.left >= containment[ 0 ] ) ?680 left - o.grid[ 0 ] : left + o.grid[ 0 ] ) ) : left;678 left : 679 ( ( left - this.offset.click.left >= containment[ 0 ] ) ? 680 left - o.grid[ 0 ] : left + o.grid[ 0 ] ) ) : left; 681 681 } 682 682 … … 852 852 853 853 if ( this !== sortable && 854 this._intersectsWith( this.containerCache ) &&855 $.contains( sortable.element[ 0 ], this.element[ 0 ] ) ) {854 this._intersectsWith( this.containerCache ) && 855 $.contains( sortable.element[ 0 ], this.element[ 0 ] ) ) { 856 856 innermostIntersecting = false; 857 857 } … … 1013 1013 1014 1014 if ( i.scrollParentNotHidden[ 0 ] !== i.document[ 0 ] && 1015 i.scrollParentNotHidden[ 0 ].tagName !== "HTML" ) {1015 i.scrollParentNotHidden[ 0 ].tagName !== "HTML" ) { 1016 1016 i.overflowOffset = i.scrollParentNotHidden.offset(); 1017 1017 } … … 1027 1027 if ( !o.axis || o.axis !== "x" ) { 1028 1028 if ( ( i.overflowOffset.top + scrollParent.offsetHeight ) - event.pageY < 1029 o.scrollSensitivity ) {1029 o.scrollSensitivity ) { 1030 1030 scrollParent.scrollTop = scrolled = scrollParent.scrollTop + o.scrollSpeed; 1031 1031 } else if ( event.pageY - i.overflowOffset.top < o.scrollSensitivity ) { … … 1036 1036 if ( !o.axis || o.axis !== "y" ) { 1037 1037 if ( ( i.overflowOffset.left + scrollParent.offsetWidth ) - event.pageX < 1038 o.scrollSensitivity ) {1038 o.scrollSensitivity ) { 1039 1039 scrollParent.scrollLeft = scrolled = scrollParent.scrollLeft + o.scrollSpeed; 1040 1040 } else if ( event.pageX - i.overflowOffset.left < o.scrollSensitivity ) { … … 1049 1049 scrolled = $( document ).scrollTop( $( document ).scrollTop() - o.scrollSpeed ); 1050 1050 } else if ( $( window ).height() - ( event.pageY - $( document ).scrollTop() ) < 1051 o.scrollSensitivity ) {1051 o.scrollSensitivity ) { 1052 1052 scrolled = $( document ).scrollTop( $( document ).scrollTop() + o.scrollSpeed ); 1053 1053 } … … 1060 1060 ); 1061 1061 } else if ( $( window ).width() - ( event.pageX - $( document ).scrollLeft() ) < 1062 o.scrollSensitivity ) {1062 o.scrollSensitivity ) { 1063 1063 scrolled = $( document ).scrollLeft( 1064 1064 $( document ).scrollLeft() + o.scrollSpeed … … 1113 1113 1114 1114 if ( x2 < l - d || x1 > r + d || y2 < t - d || y1 > b + d || 1115 !$.contains( inst.snapElements[ i ].item.ownerDocument,1115 !$.contains( inst.snapElements[ i ].item.ownerDocument, 1116 1116 inst.snapElements[ i ].item ) ) { 1117 1117 if ( inst.snapElements[ i ].snapping ) { -
trunk/src/js/_enqueues/vendor/jquery/ui/droppable.js
r52648 r54209 1 1 /*! 2 * jQuery UI Droppable 1.13. 12 * jQuery UI Droppable 1.13.2 3 3 * http://jqueryui.com 4 4 * … … 35 35 36 36 $.widget( "ui.droppable", { 37 version: "1.13. 1",37 version: "1.13.2", 38 38 widgetEventPrefix: "drop", 39 39 options: { … … 151 151 // Bail if draggable and droppable are same element 152 152 if ( !draggable || ( draggable.currentItem || 153 draggable.element )[ 0 ] === this.element[ 0 ] ) {153 draggable.element )[ 0 ] === this.element[ 0 ] ) { 154 154 return; 155 155 } 156 156 157 157 if ( this.accept.call( this.element[ 0 ], ( draggable.currentItem || 158 draggable.element ) ) ) {158 draggable.element ) ) ) { 159 159 this._addHoverClass(); 160 160 this._trigger( "over", event, this.ui( draggable ) ); … … 169 169 // Bail if draggable and droppable are same element 170 170 if ( !draggable || ( draggable.currentItem || 171 draggable.element )[ 0 ] === this.element[ 0 ] ) {171 draggable.element )[ 0 ] === this.element[ 0 ] ) { 172 172 return; 173 173 } 174 174 175 175 if ( this.accept.call( this.element[ 0 ], ( draggable.currentItem || 176 draggable.element ) ) ) {176 draggable.element ) ) ) { 177 177 this._removeHoverClass(); 178 178 this._trigger( "out", event, this.ui( draggable ) ); … … 188 188 // Bail if draggable and droppable are same element 189 189 if ( !draggable || ( draggable.currentItem || 190 draggable.element )[ 0 ] === this.element[ 0 ] ) {190 draggable.element )[ 0 ] === this.element[ 0 ] ) { 191 191 return false; 192 192 } … … 219 219 220 220 if ( this.accept.call( this.element[ 0 ], 221 ( draggable.currentItem || draggable.element ) ) ) {221 ( draggable.currentItem || draggable.element ) ) ) { 222 222 this._removeActiveClass(); 223 223 this._removeHoverClass(); … … 282 282 283 283 switch ( toleranceMode ) { 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 284 case "fit": 285 return ( l <= x1 && x2 <= r && t <= y1 && y2 <= b ); 286 case "intersect": 287 return ( l < x1 + ( draggable.helperProportions.width / 2 ) && // Right Half 288 x2 - ( draggable.helperProportions.width / 2 ) < r && // Left Half 289 t < y1 + ( draggable.helperProportions.height / 2 ) && // Bottom Half 290 y2 - ( draggable.helperProportions.height / 2 ) < b ); // Top Half 291 case "pointer": 292 return isOverAxis( event.pageY, t, droppable.proportions().height ) && 293 isOverAxis( event.pageX, l, droppable.proportions().width ); 294 case "touch": 295 return ( 296 ( y1 >= t && y1 <= b ) || // Top edge touching 297 ( y2 >= t && y2 <= b ) || // Bottom edge touching 298 ( y1 < t && y2 > b ) // Surrounded vertically 299 ) && ( 300 ( x1 >= l && x1 <= r ) || // Left edge touching 301 ( x2 >= l && x2 <= r ) || // Right edge touching 302 ( x1 < l && x2 > r ) // Surrounded horizontally 303 ); 304 default: 305 return false; 306 306 } 307 307 }; … … 325 325 // No disabled and non-accepted 326 326 if ( m[ i ].options.disabled || ( t && !m[ i ].accept.call( m[ i ].element[ 0 ], 327 ( t.currentItem || t.element ) ) ) ) {327 ( t.currentItem || t.element ) ) ) ) { 328 328 continue; 329 329 } … … 367 367 } 368 368 if ( !this.options.disabled && this.visible && 369 $.ui.intersect( draggable, this, this.options.tolerance, event ) ) {369 $.ui.intersect( draggable, this, this.options.tolerance, event ) ) { 370 370 dropped = this._drop.call( this, event ) || dropped; 371 371 } 372 372 373 373 if ( !this.options.disabled && this.visible && this.accept.call( this.element[ 0 ], 374 ( draggable.currentItem || draggable.element ) ) ) {374 ( draggable.currentItem || draggable.element ) ) ) { 375 375 this.isout = true; 376 376 this.isover = false; -
trunk/src/js/_enqueues/vendor/jquery/ui/effect-blind.js
r52648 r54209 1 1 /*! 2 * jQuery UI Effects Blind 1.13. 12 * jQuery UI Effects Blind 1.13.2 3 3 * http://jqueryui.com 4 4 * -
trunk/src/js/_enqueues/vendor/jquery/ui/effect-bounce.js
r52648 r54209 1 1 /*! 2 * jQuery UI Effects Bounce 1.13. 12 * jQuery UI Effects Bounce 1.13.2 3 3 * http://jqueryui.com 4 4 * -
trunk/src/js/_enqueues/vendor/jquery/ui/effect-clip.js
r52648 r54209 1 1 /*! 2 * jQuery UI Effects Clip 1.13. 12 * jQuery UI Effects Clip 1.13.2 3 3 * http://jqueryui.com 4 4 * -
trunk/src/js/_enqueues/vendor/jquery/ui/effect-drop.js
r52648 r54209 1 1 /*! 2 * jQuery UI Effects Drop 1.13. 12 * jQuery UI Effects Drop 1.13.2 3 3 * http://jqueryui.com 4 4 * -
trunk/src/js/_enqueues/vendor/jquery/ui/effect-explode.js
r52648 r54209 1 1 /*! 2 * jQuery UI Effects Explode 1.13. 12 * jQuery UI Effects Explode 1.13.2 3 3 * http://jqueryui.com 4 4 * … … 84 84 // where the original was located +left and +top equal to the size of pieces 85 85 .parent() 86 .addClass( "ui-effects-explode" )87 .css( {88 position: "absolute",89 overflow: "hidden",90 width: width,91 height: height,92 left: left + ( show ? mx * width : 0 ),93 top: top + ( show ? my * height : 0 ),94 opacity: show ? 0 : 195 } )96 .animate( {97 left: left + ( show ? 0 : mx * width ),98 top: top + ( show ? 0 : my * height ),99 opacity: show ? 1 : 0100 }, options.duration || 500, options.easing, childComplete );86 .addClass( "ui-effects-explode" ) 87 .css( { 88 position: "absolute", 89 overflow: "hidden", 90 width: width, 91 height: height, 92 left: left + ( show ? mx * width : 0 ), 93 top: top + ( show ? my * height : 0 ), 94 opacity: show ? 0 : 1 95 } ) 96 .animate( { 97 left: left + ( show ? 0 : mx * width ), 98 top: top + ( show ? 0 : my * height ), 99 opacity: show ? 1 : 0 100 }, options.duration || 500, options.easing, childComplete ); 101 101 } 102 102 } -
trunk/src/js/_enqueues/vendor/jquery/ui/effect-fade.js
r52648 r54209 1 1 /*! 2 * jQuery UI Effects Fade 1.13. 12 * jQuery UI Effects Fade 1.13.2 3 3 * http://jqueryui.com 4 4 * -
trunk/src/js/_enqueues/vendor/jquery/ui/effect-fold.js
r52648 r54209 1 1 /*! 2 * jQuery UI Effects Fold 1.13. 12 * jQuery UI Effects Fold 1.13.2 3 3 * http://jqueryui.com 4 4 * -
trunk/src/js/_enqueues/vendor/jquery/ui/effect-highlight.js
r52648 r54209 1 1 /*! 2 * jQuery UI Effects Highlight 1.13. 12 * jQuery UI Effects Highlight 1.13.2 3 3 * http://jqueryui.com 4 4 * -
trunk/src/js/_enqueues/vendor/jquery/ui/effect-puff.js
r52648 r54209 1 1 /*! 2 * jQuery UI Effects Puff 1.13. 12 * jQuery UI Effects Puff 1.13.2 3 3 * http://jqueryui.com 4 4 * -
trunk/src/js/_enqueues/vendor/jquery/ui/effect-pulsate.js
r52648 r54209 1 1 /*! 2 * jQuery UI Effects Pulsate 1.13. 12 * jQuery UI Effects Pulsate 1.13.2 3 3 * http://jqueryui.com 4 4 * -
trunk/src/js/_enqueues/vendor/jquery/ui/effect-scale.js
r52648 r54209 1 1 /*! 2 * jQuery UI Effects Scale 1.13. 12 * jQuery UI Effects Scale 1.13.2 3 3 * http://jqueryui.com 4 4 * -
trunk/src/js/_enqueues/vendor/jquery/ui/effect-shake.js
r52648 r54209 1 1 /*! 2 * jQuery UI Effects Shake 1.13. 12 * jQuery UI Effects Shake 1.13.2 3 3 * http://jqueryui.com 4 4 * -
trunk/src/js/_enqueues/vendor/jquery/ui/effect-size.js
r52648 r54209 1 1 /*! 2 * jQuery UI Effects Size 1.13. 12 * jQuery UI Effects Size 1.13.2 3 3 * http://jqueryui.com 4 4 * -
trunk/src/js/_enqueues/vendor/jquery/ui/effect-slide.js
r52648 r54209 1 1 /*! 2 * jQuery UI Effects Slide 1.13. 12 * jQuery UI Effects Slide 1.13.2 3 3 * http://jqueryui.com 4 4 * -
trunk/src/js/_enqueues/vendor/jquery/ui/effect-transfer.js
r52648 r54209 1 1 /*! 2 * jQuery UI Effects Transfer 1.13. 12 * jQuery UI Effects Transfer 1.13.2 3 3 * http://jqueryui.com 4 4 * -
trunk/src/js/_enqueues/vendor/jquery/ui/effect.js
r52648 r54209 1 1 /*! 2 * jQuery UI Effects 1.13. 12 * jQuery UI Effects 1.13.2 3 3 * http://jqueryui.com 4 4 * … … 53 53 * Date: Sun May 10 09:02:36 2020 +0200 54 54 */ 55 56 55 57 56 58 var stepHooks = "backgroundColor borderBottomColor borderLeftColor borderRightColor " + … … 752 754 }; 753 755 754 755 756 var dataSpace = "ui-effects-", 756 757 dataSpaceStyle = "ui-effects-style", … … 813 814 } 814 815 815 816 // Support: Opera, IE <9 816 817 } else { 817 818 for ( key in style ) { … … 1120 1121 1121 1122 $.extend( $.effects, { 1122 version: "1.13. 1",1123 version: "1.13.2", 1123 1124 1124 1125 define: function( name, mode, effect ) { … … 1202 1203 1203 1204 switch ( origin[ 0 ] ) { 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1205 case "top": 1206 y = 0; 1207 break; 1208 case "middle": 1209 y = 0.5; 1210 break; 1211 case "bottom": 1212 y = 1; 1213 break; 1214 default: 1215 y = origin[ 0 ] / original.height; 1215 1216 } 1216 1217 1217 1218 switch ( origin[ 1 ] ) { 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1219 case "left": 1220 x = 0; 1221 break; 1222 case "center": 1223 x = 0.5; 1224 break; 1225 case "right": 1226 x = 1; 1227 break; 1228 default: 1229 x = origin[ 1 ] / original.width; 1229 1230 } 1230 1231 … … 1251 1252 marginRight: element.css( "marginRight" ) 1252 1253 } ) 1253 1254 1254 .outerWidth( element.outerWidth() ) 1255 .outerHeight( element.outerHeight() ); 1255 1256 1256 1257 if ( /^(static|relative)/.test( cssPosition ) ) { … … 1273 1274 "float": element.css( "float" ) 1274 1275 } ) 1275 1276 1277 1276 .outerWidth( element.outerWidth() ) 1277 .outerHeight( element.outerHeight() ) 1278 .addClass( "ui-effects-placeholder" ); 1278 1279 1279 1280 element.data( dataSpace + "placeholder", placeholder ); … … 1291 1292 removePlaceholder: function( element ) { 1292 1293 var dataKey = dataSpace + "placeholder", 1293 placeholder = element.data( dataKey );1294 placeholder = element.data( dataKey ); 1294 1295 1295 1296 if ( placeholder ) { … … 1363 1364 effect.duration = $.fx.off ? 0 : 1364 1365 typeof speed === "number" ? speed : 1365 1366 1366 speed in $.fx.speeds ? $.fx.speeds[ speed ] : 1367 $.fx.speeds._default; 1367 1368 1368 1369 effect.complete = callback || options.complete; … … 1421 1422 // See $.uiBackCompat inside of run() for removal of defaultMode in 1.14 1422 1423 if ( defaultMode && ( normalizedMode === "show" || 1423 ( normalizedMode === defaultMode && normalizedMode === "hide" ) ) ) {1424 ( normalizedMode === defaultMode && normalizedMode === "hide" ) ) ) { 1424 1425 el.show(); 1425 1426 } … … 1599 1600 1600 1601 function parseClip( str, element ) { 1601 var outerWidth = element.outerWidth(),1602 outerHeight = element.outerHeight(),1603 clipRegex = /^rect\((-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto)\)$/,1604 values = clipRegex.exec( str ) || [ "", 0, outerWidth, outerHeight, 0 ];1605 1606 return {1607 top: parseFloat( values[ 1 ] ) || 0,1608 right: values[ 2 ] === "auto" ? outerWidth : parseFloat( values[ 2 ] ),1609 bottom: values[ 3 ] === "auto" ? outerHeight : parseFloat( values[ 3 ] ),1610 left: parseFloat( values[ 4 ] ) || 01611 };1602 var outerWidth = element.outerWidth(), 1603 outerHeight = element.outerHeight(), 1604 clipRegex = /^rect\((-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto)\)$/, 1605 values = clipRegex.exec( str ) || [ "", 0, outerWidth, outerHeight, 0 ]; 1606 1607 return { 1608 top: parseFloat( values[ 1 ] ) || 0, 1609 right: values[ 2 ] === "auto" ? outerWidth : parseFloat( values[ 2 ] ), 1610 bottom: values[ 3 ] === "auto" ? outerHeight : parseFloat( values[ 3 ] ), 1611 left: parseFloat( values[ 4 ] ) || 0 1612 }; 1612 1613 } 1613 1614 -
trunk/src/js/_enqueues/vendor/jquery/ui/menu.js
r52648 r54209 1 1 /*! 2 * jQuery UI Menu 1.13. 12 * jQuery UI Menu 1.13.2 3 3 * http://jqueryui.com 4 4 * … … 36 36 37 37 return $.widget( "ui.menu", { 38 version: "1.13. 1",38 version: "1.13.2", 39 39 defaultElement: "<ul>", 40 40 delay: 300, … … 96 96 this.expand( event ); 97 97 } else if ( !this.element.is( ":focus" ) && 98 active.closest( ".ui-menu" ).length ) {98 active.closest( ".ui-menu" ).length ) { 99 99 100 100 // Redirect focus to the menu … … 163 163 // If the mouse didn't actually move, but the page was scrolled, ignore the event (#9356) 164 164 if ( event.clientX === this.lastMousePosition.x && 165 event.clientY === this.lastMousePosition.y ) {165 event.clientY === this.lastMousePosition.y ) { 166 166 return; 167 167 } … … 203 203 .removeAttr( "aria-activedescendant" ) 204 204 .find( ".ui-menu" ).addBack() 205 .removeAttr( "role aria-labelledby aria-expanded aria-hidden aria-disabled " +206 "tabIndex" )207 .removeUniqueId()208 .show();205 .removeAttr( "role aria-labelledby aria-expanded aria-hidden aria-disabled " + 206 "tabIndex" ) 207 .removeUniqueId() 208 .show(); 209 209 210 210 submenus.children().each( function() { … … 221 221 222 222 switch ( event.keyCode ) { 223 case $.ui.keyCode.PAGE_UP: 224 this.previousPage( event ); 225 break; 226 case $.ui.keyCode.PAGE_DOWN: 227 this.nextPage( event ); 228 break; 229 case $.ui.keyCode.HOME: 230 this._move( "first", "first", event ); 231 break; 232 case $.ui.keyCode.END: 233 this._move( "last", "last", event ); 234 break; 235 case $.ui.keyCode.UP: 236 this.previous( event ); 237 break; 238 case $.ui.keyCode.DOWN: 239 this.next( event ); 240 break; 241 case $.ui.keyCode.LEFT: 242 this.collapse( event ); 243 break; 244 case $.ui.keyCode.RIGHT: 245 if ( this.active && !this.active.is( ".ui-state-disabled" ) ) { 246 this.expand( event ); 247 } 248 break; 249 case $.ui.keyCode.ENTER: 250 case $.ui.keyCode.SPACE: 251 this._activate( event ); 252 break; 253 case $.ui.keyCode.ESCAPE: 254 this.collapse( event ); 255 break; 256 default: 257 preventDefault = false; 258 prev = this.previousFilter || ""; 259 skip = false; 260 261 // Support number pad values 262 character = event.keyCode >= 96 && event.keyCode <= 105 ? 263 ( event.keyCode - 96 ).toString() : String.fromCharCode( event.keyCode ); 264 265 clearTimeout( this.filterTimer ); 266 267 if ( character === prev ) { 268 skip = true; 269 } else { 270 character = prev + character; 271 } 272 223 case $.ui.keyCode.PAGE_UP: 224 this.previousPage( event ); 225 break; 226 case $.ui.keyCode.PAGE_DOWN: 227 this.nextPage( event ); 228 break; 229 case $.ui.keyCode.HOME: 230 this._move( "first", "first", event ); 231 break; 232 case $.ui.keyCode.END: 233 this._move( "last", "last", event ); 234 break; 235 case $.ui.keyCode.UP: 236 this.previous( event ); 237 break; 238 case $.ui.keyCode.DOWN: 239 this.next( event ); 240 break; 241 case $.ui.keyCode.LEFT: 242 this.collapse( event ); 243 break; 244 case $.ui.keyCode.RIGHT: 245 if ( this.active && !this.active.is( ".ui-state-disabled" ) ) { 246 this.expand( event ); 247 } 248 break; 249 case $.ui.keyCode.ENTER: 250 case $.ui.keyCode.SPACE: 251 this._activate( event ); 252 break; 253 case $.ui.keyCode.ESCAPE: 254 this.collapse( event ); 255 break; 256 default: 257 preventDefault = false; 258 prev = this.previousFilter || ""; 259 skip = false; 260 261 // Support number pad values 262 character = event.keyCode >= 96 && event.keyCode <= 105 ? 263 ( event.keyCode - 96 ).toString() : String.fromCharCode( event.keyCode ); 264 265 clearTimeout( this.filterTimer ); 266 267 if ( character === prev ) { 268 skip = true; 269 } else { 270 character = prev + character; 271 } 272 273 match = this._filterMenuItems( character ); 274 match = skip && match.index( this.active.next() ) !== -1 ? 275 this.active.nextAll( ".ui-menu-item" ) : 276 match; 277 278 // If no matches on the current filter, reset to the last character pressed 279 // to move down the menu to the first item that starts with that character 280 if ( !match.length ) { 281 character = String.fromCharCode( event.keyCode ); 273 282 match = this._filterMenuItems( character ); 274 match = skip && match.index( this.active.next() ) !== -1 ? 275 this.active.nextAll( ".ui-menu-item" ) : 276 match; 277 278 // If no matches on the current filter, reset to the last character pressed 279 // to move down the menu to the first item that starts with that character 280 if ( !match.length ) { 281 character = String.fromCharCode( event.keyCode ); 282 match = this._filterMenuItems( character ); 283 } 284 285 if ( match.length ) { 286 this.focus( event, match ); 287 this.previousFilter = character; 288 this.filterTimer = this._delay( function() { 289 delete this.previousFilter; 290 }, 1000 ); 291 } else { 283 } 284 285 if ( match.length ) { 286 this.focus( event, match ); 287 this.previousFilter = character; 288 this.filterTimer = this._delay( function() { 292 289 delete this.previousFilter; 293 } 290 }, 1000 ); 291 } else { 292 delete this.previousFilter; 293 } 294 294 } 295 295 … … 354 354 newWrappers = newItems.children() 355 355 .not( ".ui-menu" ) 356 .uniqueId()357 .attr( {358 tabIndex: -1,359 role: this._itemRole()360 } );356 .uniqueId() 357 .attr( { 358 tabIndex: -1, 359 role: this._itemRole() 360 } ); 361 361 this._addClass( newItems, "ui-menu-item" ) 362 362 ._addClass( newWrappers, "ui-menu-item-wrapper" ); … … 414 414 activeParent = this.active 415 415 .parent() 416 .closest( ".ui-menu-item" )417 .children( ".ui-menu-item-wrapper" );416 .closest( ".ui-menu-item" ) 417 .children( ".ui-menu-item-wrapper" ); 418 418 this._addClass( activeParent, null, "ui-state-active" ); 419 419 … … 696 696 .find( this.options.items ) 697 697 698 // Only match on items, not dividers or other content (#10571)699 .filter( ".ui-menu-item" )700 .filter( function() {701 return regex.test(702 String.prototype.trim.call(703 $( this ).children( ".ui-menu-item-wrapper" ).text() ) );704 } );698 // Only match on items, not dividers or other content (#10571) 699 .filter( ".ui-menu-item" ) 700 .filter( function() { 701 return regex.test( 702 String.prototype.trim.call( 703 $( this ).children( ".ui-menu-item-wrapper" ).text() ) ); 704 } ); 705 705 } 706 706 } ); -
trunk/src/js/_enqueues/vendor/jquery/ui/mouse.js
r52648 r54209 1 1 /*! 2 * jQuery UI Mouse 1.13. 12 * jQuery UI Mouse 1.13.2 3 3 * http://jqueryui.com 4 4 * … … 37 37 38 38 return $.widget( "ui.mouse", { 39 version: "1.13. 1",39 version: "1.13.2", 40 40 options: { 41 41 cancel: "input, textarea, button, select, option", … … 147 147 // IE mouseup check - mouseup happened when mouse was out of window 148 148 if ( $.ui.ie && ( !document.documentMode || document.documentMode < 9 ) && 149 !event.button ) {149 !event.button ) { 150 150 return this._mouseUp( event ); 151 151 152 152 // Iframe mouseup check - mouseup occurred in another document 153 153 } else if ( !event.which ) { 154 154 … … 157 157 // during a drag (#14461) 158 158 if ( event.originalEvent.altKey || event.originalEvent.ctrlKey || 159 event.originalEvent.metaKey || event.originalEvent.shiftKey ) {159 event.originalEvent.metaKey || event.originalEvent.shiftKey ) { 160 160 this.ignoreMissingWhich = true; 161 161 } else if ( !this.ignoreMissingWhich ) { -
trunk/src/js/_enqueues/vendor/jquery/ui/progressbar.js
r52648 r54209 1 1 /*! 2 * jQuery UI Progressbar 1.13. 12 * jQuery UI Progressbar 1.13.2 3 3 * http://jqueryui.com 4 4 * … … 38 38 39 39 return $.widget( "ui.progressbar", { 40 version: "1.13. 1",40 version: "1.13.2", 41 41 options: { 42 42 classes: { -
trunk/src/js/_enqueues/vendor/jquery/ui/resizable.js
r52648 r54209 1 1 /*! 2 * jQuery UI Resizable 1.13. 12 * jQuery UI Resizable 1.13.2 3 3 * http://jqueryui.com 4 4 * … … 37 37 38 38 $.widget( "ui.resizable", $.ui.mouse, { 39 version: "1.13. 1",39 version: "1.13.2", 40 40 widgetEventPrefix: "resize", 41 41 options: { … … 229 229 230 230 switch ( key ) { 231 232 233 234 235 236 237 238 239 231 case "handles": 232 this._removeHandles(); 233 this._setupHandles(); 234 break; 235 case "aspectRatio": 236 this._aspectRatio = !!value; 237 break; 238 default: 239 break; 240 240 } 241 241 }, … … 301 301 302 302 if ( this.elementIsWrapper && 303 this.originalElement[ 0 ]304 .nodeName305 .match( /^(textarea|input|select|button)$/i ) ) {303 this.originalElement[ 0 ] 304 .nodeName 305 .match( /^(textarea|input|select|button)$/i ) ) { 306 306 axis = $( this.handles[ i ], this.element ); 307 307 … … 312 312 padPos = [ "padding", 313 313 /ne|nw|n/.test( i ) ? "Top" : 314 315 314 /se|sw|s/.test( i ) ? "Bottom" : 315 /^e$/.test( i ) ? "Right" : "Left" ].join( "" ); 316 316 317 317 target.css( padPos, padWrapper ); … … 385 385 386 386 this.size = this._helper ? { 387 width: this.helper.width(),388 height: this.helper.height()389 } : {390 width: el.width(),391 height: el.height()392 };387 width: this.helper.width(), 388 height: this.helper.height() 389 } : { 390 width: el.width(), 391 height: el.height() 392 }; 393 393 394 394 this.originalSize = this._helper ? { 395 width: el.outerWidth(),396 height: el.outerHeight()397 } : {398 width: el.width(),399 height: el.height()400 };395 width: el.outerWidth(), 396 height: el.outerHeight() 397 } : { 398 width: el.width(), 399 height: el.height() 400 }; 401 401 402 402 this.sizeDiff = { … … 1064 1064 }; 1065 1065 1066 $( o.alsoResize ).each( function() { 1067 var el = $( this ), start = $( this ).data( "ui-resizable-alsoresize" ), style = {}, 1068 css = el.parents( ui.originalElement[ 0 ] ).length ? 1069 [ "width", "height" ] : 1070 [ "width", "height", "top", "left" ]; 1071 1072 $.each( css, function( i, prop ) { 1073 var sum = ( start[ prop ] || 0 ) + ( delta[ prop ] || 0 ); 1074 if ( sum && sum >= 0 ) { 1075 style[ prop ] = sum || null; 1076 } 1066 $( o.alsoResize ).each( function() { 1067 var el = $( this ), start = $( this ).data( "ui-resizable-alsoresize" ), style = {}, 1068 css = el.parents( ui.originalElement[ 0 ] ).length ? 1069 [ "width", "height" ] : 1070 [ "width", "height", "top", "left" ]; 1071 1072 $.each( css, function( i, prop ) { 1073 var sum = ( start[ prop ] || 0 ) + ( delta[ prop ] || 0 ); 1074 if ( sum && sum >= 0 ) { 1075 style[ prop ] = sum || null; 1076 } 1077 } ); 1078 1079 el.css( style ); 1077 1080 } ); 1078 1079 el.css( style );1080 } );1081 1081 }, 1082 1082 -
trunk/src/js/_enqueues/vendor/jquery/ui/selectable.js
r52648 r54209 1 1 /*! 2 * jQuery UI Selectable 1.13. 12 * jQuery UI Selectable 1.13.2 3 3 * http://jqueryui.com 4 4 * … … 35 35 36 36 return $.widget( "ui.selectable", $.ui.mouse, { 37 version: "1.13. 1",37 version: "1.13.2", 38 38 options: { 39 39 appendTo: "body", … … 211 211 if ( options.tolerance === "touch" ) { 212 212 hit = ( !( offset.left > x2 || offset.right < x1 || offset.top > y2 || 213 213 offset.bottom < y1 ) ); 214 214 } else if ( options.tolerance === "fit" ) { 215 215 hit = ( offset.left > x1 && offset.right < x2 && offset.top > y1 && 216 216 offset.bottom < y2 ); 217 217 } 218 218 -
trunk/src/js/_enqueues/vendor/jquery/ui/selectmenu.js
r52648 r54209 1 1 /*! 2 * jQuery UI Selectmenu 1.13. 12 * jQuery UI Selectmenu 1.13.2 3 3 * http://jqueryui.com 4 4 * … … 39 39 40 40 return $.widget( "ui.selectmenu", [ $.ui.formResetMixin, { 41 version: "1.13. 1",41 version: "1.13.2", 42 42 defaultElement: "<select>", 43 43 options: { … … 228 228 this.menuItems = this.menu.find( "li" ) 229 229 .not( ".ui-selectmenu-optgroup" ) 230 .find( ".ui-menu-item-wrapper" );230 .find( ".ui-menu-item-wrapper" ); 231 231 232 232 this._rendered = true; … … 404 404 selection.addRange( this.range ); 405 405 406 406 // Support: IE8 407 407 } else { 408 408 this.range.select(); … … 412 412 // Setting the text selection kills the button focus in IE, but 413 413 // restoring the focus doesn't kill the selection. 414 this.button. focus();414 this.button.trigger( "focus" ); 415 415 }, 416 416 … … 440 440 } 441 441 442 442 // Support: IE8 443 443 } else { 444 444 this.range = document.selection.createRange(); … … 454 454 var preventDefault = true; 455 455 switch ( event.keyCode ) { 456 case $.ui.keyCode.TAB: 457 case $.ui.keyCode.ESCAPE: 458 this.close( event ); 459 preventDefault = false; 460 break; 461 case $.ui.keyCode.ENTER: 462 if ( this.isOpen ) { 463 this._selectFocusedItem( event ); 464 } 465 break; 466 case $.ui.keyCode.UP: 467 if ( event.altKey ) { 468 this._toggle( event ); 469 } else { 470 this._move( "prev", event ); 471 } 472 break; 473 case $.ui.keyCode.DOWN: 474 if ( event.altKey ) { 475 this._toggle( event ); 476 } else { 477 this._move( "next", event ); 478 } 479 break; 480 case $.ui.keyCode.SPACE: 481 if ( this.isOpen ) { 482 this._selectFocusedItem( event ); 483 } else { 484 this._toggle( event ); 485 } 486 break; 487 case $.ui.keyCode.LEFT: 456 case $.ui.keyCode.TAB: 457 case $.ui.keyCode.ESCAPE: 458 this.close( event ); 459 preventDefault = false; 460 break; 461 case $.ui.keyCode.ENTER: 462 if ( this.isOpen ) { 463 this._selectFocusedItem( event ); 464 } 465 break; 466 case $.ui.keyCode.UP: 467 if ( event.altKey ) { 468 this._toggle( event ); 469 } else { 488 470 this._move( "prev", event ); 489 break; 490 case $.ui.keyCode.RIGHT: 471 } 472 break; 473 case $.ui.keyCode.DOWN: 474 if ( event.altKey ) { 475 this._toggle( event ); 476 } else { 491 477 this._move( "next", event ); 492 break; 493 case $.ui.keyCode.HOME: 494 case $.ui.keyCode.PAGE_UP: 495 this._move( "first", event ); 496 break; 497 case $.ui.keyCode.END: 498 case $.ui.keyCode.PAGE_DOWN: 499 this._move( "last", event ); 500 break; 501 default: 502 this.menu.trigger( event ); 503 preventDefault = false; 478 } 479 break; 480 case $.ui.keyCode.SPACE: 481 if ( this.isOpen ) { 482 this._selectFocusedItem( event ); 483 } else { 484 this._toggle( event ); 485 } 486 break; 487 case $.ui.keyCode.LEFT: 488 this._move( "prev", event ); 489 break; 490 case $.ui.keyCode.RIGHT: 491 this._move( "next", event ); 492 break; 493 case $.ui.keyCode.HOME: 494 case $.ui.keyCode.PAGE_UP: 495 this._move( "first", event ); 496 break; 497 case $.ui.keyCode.END: 498 case $.ui.keyCode.PAGE_DOWN: 499 this._move( "last", event ); 500 break; 501 default: 502 this.menu.trigger( event ); 503 preventDefault = false; 504 504 } 505 505 -
trunk/src/js/_enqueues/vendor/jquery/ui/slider.js
r52648 r54209 1 1 /*! 2 * jQuery UI Slider 1.13. 12 * jQuery UI Slider 1.13.2 3 3 * http://jqueryui.com 4 4 * … … 37 37 38 38 return $.widget( "ui.slider", $.ui.mouse, { 39 version: "1.13. 1",39 version: "1.13.2", 40 40 widgetEventPrefix: "slide", 41 41 … … 643 643 valueMax = this._valueMax(); 644 644 valPercent = ( valueMax !== valueMin ) ? 645 ( value - valueMin ) / ( valueMax - valueMin ) * 100 :646 0;645 ( value - valueMin ) / ( valueMax - valueMin ) * 100 : 646 0; 647 647 _set[ this.orientation === "horizontal" ? "left" : "bottom" ] = valPercent + "%"; 648 648 this.handle.stop( 1, 1 )[ animate ? "animate" : "css" ]( _set, o.animate ); -
trunk/src/js/_enqueues/vendor/jquery/ui/sortable.js
r52648 r54209 1 1 /*! 2 * jQuery UI Sortable 1.13. 12 * jQuery UI Sortable 1.13.2 3 3 * http://jqueryui.com 4 4 * … … 35 35 36 36 return $.widget( "ui.sortable", $.ui.mouse, { 37 version: "1.13. 1",37 version: "1.13.2", 38 38 widgetEventPrefix: "sort", 39 39 ready: false, … … 197 197 //Prepare the dragged items parent 198 198 this.appendTo = $( o.appendTo !== "parent" ? 199 o.appendTo :200 this.currentItem.parent() );199 o.appendTo : 200 this.currentItem.parent() ); 201 201 202 202 //Create and append the visible helper … … 300 300 //Prepare scrolling 301 301 if ( this.scrollParent[ 0 ] !== this.document[ 0 ] && 302 this.scrollParent[ 0 ].tagName !== "HTML" ) {302 this.scrollParent[ 0 ].tagName !== "HTML" ) { 303 303 this.overflowOffset = this.scrollParent.offset(); 304 304 } … … 357 357 358 358 if ( this.scrollParent[ 0 ] !== this.document[ 0 ] && 359 this.scrollParent[ 0 ].tagName !== "HTML" ) {359 this.scrollParent[ 0 ].tagName !== "HTML" ) { 360 360 361 361 if ( ( this.overflowOffset.top + this.scrollParent[ 0 ].offsetHeight ) - 362 event.pageY < o.scrollSensitivity ) {362 event.pageY < o.scrollSensitivity ) { 363 363 this.scrollParent[ 0 ].scrollTop = 364 364 scrolled = this.scrollParent[ 0 ].scrollTop + o.scrollSpeed; … … 369 369 370 370 if ( ( this.overflowOffset.left + this.scrollParent[ 0 ].offsetWidth ) - 371 event.pageX < o.scrollSensitivity ) {371 event.pageX < o.scrollSensitivity ) { 372 372 this.scrollParent[ 0 ].scrollLeft = scrolled = 373 373 this.scrollParent[ 0 ].scrollLeft + o.scrollSpeed; … … 382 382 scrolled = this.document.scrollTop( this.document.scrollTop() - o.scrollSpeed ); 383 383 } else if ( this.window.height() - ( event.pageY - this.document.scrollTop() ) < 384 o.scrollSensitivity ) {384 o.scrollSensitivity ) { 385 385 scrolled = this.document.scrollTop( this.document.scrollTop() + o.scrollSpeed ); 386 386 } … … 391 391 ); 392 392 } else if ( this.window.width() - ( event.pageX - this.document.scrollLeft() ) < 393 o.scrollSensitivity ) {393 o.scrollSensitivity ) { 394 394 scrolled = this.document.scrollLeft( 395 395 this.document.scrollLeft() + o.scrollSpeed … … 463 463 if ( itemElement !== this.currentItem[ 0 ] && 464 464 this.placeholder[ intersection === 1 ? 465 465 "next" : "prev" ]()[ 0 ] !== itemElement && 466 466 !$.contains( this.placeholder[ 0 ], itemElement ) && 467 467 ( this.options.type === "semi-dynamic" ? 468 469 468 !$.contains( this.element[ 0 ], itemElement ) : 469 true 470 470 ) 471 471 ) { … … 474 474 475 475 if ( this.options.tolerance === "pointer" || 476 this._intersectsWithSides( item ) ) {476 this._intersectsWithSides( item ) ) { 477 477 this._rearrange( event, item ); 478 478 } else { … … 521 521 animation.left = cur.left - this.offset.parent.left - this.margins.left + 522 522 ( this.offsetParent[ 0 ] === this.document[ 0 ].body ? 523 524 523 0 : 524 this.offsetParent[ 0 ].scrollLeft 525 525 ); 526 526 } … … 528 528 animation.top = cur.top - this.offset.parent.top - this.margins.top + 529 529 ( this.offsetParent[ 0 ] === this.document[ 0 ].body ? 530 531 530 0 : 531 this.offsetParent[ 0 ].scrollTop 532 532 ); 533 533 } … … 580 580 } 581 581 if ( this.options.helper !== "original" && this.helper && 582 this.helper[ 0 ].parentNode ) {582 this.helper[ 0 ].parentNode ) { 583 583 this.helper.remove(); 584 584 } … … 856 856 //We ignore calculating positions of all connected containers when we're not over them 857 857 if ( this.currentContainer && item.instance !== this.currentContainer && 858 item.item[ 0 ] !== this.currentItem[ 0 ] ) {858 item.item[ 0 ] !== this.currentItem[ 0 ] ) { 859 859 continue; 860 860 } … … 923 923 924 924 that._addClass( element, "ui-sortable-placeholder", 925 className || that.currentItem[ 0 ].className )925 className || that.currentItem[ 0 ].className ) 926 926 ._removeClass( element, "ui-sortable-helper" ); 927 927 … … 961 961 // is true. 962 962 if ( !p.height() || ( o.forcePlaceholderSize && 963 ( nodeName === "tbody" || nodeName === "tr" ) ) ) {963 ( nodeName === "tbody" || nodeName === "tr" ) ) ) { 964 964 p.height( 965 965 that.currentItem.innerHeight() - … … 1016 1016 // If we've already found a container and it's more "inner" than this, then continue 1017 1017 if ( innermostContainer && 1018 $.contains(1019 this.containers[ i ].element[ 0 ],1020 innermostContainer.element[ 0 ] ) ) {1018 $.contains( 1019 this.containers[ i ].element[ 0 ], 1020 innermostContainer.element[ 0 ] ) ) { 1021 1021 continue; 1022 1022 } … … 1060 1060 for ( j = this.items.length - 1; j >= 0; j-- ) { 1061 1061 if ( !$.contains( 1062 this.containers[ innermostIndex ].element[ 0 ], this.items[ j ].item[ 0 ] )1062 this.containers[ innermostIndex ].element[ 0 ], this.items[ j ].item[ 0 ] ) 1063 1063 ) { 1064 1064 continue; … … 1111 1111 //Update overflowOffset 1112 1112 if ( this.scrollParent[ 0 ] !== this.document[ 0 ] && 1113 this.scrollParent[ 0 ].tagName !== "HTML" ) {1113 this.scrollParent[ 0 ].tagName !== "HTML" ) { 1114 1114 this.overflowOffset = this.scrollParent.offset(); 1115 1115 } … … 1189 1189 // offset of the parent, and never recalculated upon drag 1190 1190 if ( this.cssPosition === "absolute" && this.scrollParent[ 0 ] !== this.document[ 0 ] && 1191 $.contains( this.scrollParent[ 0 ], this.offsetParent[ 0 ] ) ) {1191 $.contains( this.scrollParent[ 0 ], this.offsetParent[ 0 ] ) ) { 1192 1192 po.left += this.scrollParent.scrollLeft(); 1193 1193 po.top += this.scrollParent.scrollTop(); … … 1197 1197 // information with an ugly IE fix 1198 1198 if ( this.offsetParent[ 0 ] === this.document[ 0 ].body || 1199 ( this.offsetParent[ 0 ].tagName &&1199 ( this.offsetParent[ 0 ].tagName && 1200 1200 this.offsetParent[ 0 ].tagName.toLowerCase() === "html" && $.ui.ie ) ) { 1201 1201 po = { top: 0, left: 0 }; … … 1254 1254 this.window.width() - this.helperProportions.width - this.margins.left, 1255 1255 ( o.containment === "document" ? 1256 1257 1256 ( this.document.height() || document.body.parentNode.scrollHeight ) : 1257 this.window.height() || this.document[ 0 ].body.parentNode.scrollHeight 1258 1258 ) - this.helperProportions.height - this.margins.top 1259 1259 ]; … … 1267 1267 this.containment = [ 1268 1268 co.left + ( parseInt( $( ce ).css( "borderLeftWidth" ), 10 ) || 0 ) + 1269 ( parseInt( $( ce ).css( "paddingLeft" ), 10 ) || 0 ) - this.margins.left,1269 ( parseInt( $( ce ).css( "paddingLeft" ), 10 ) || 0 ) - this.margins.left, 1270 1270 co.top + ( parseInt( $( ce ).css( "borderTopWidth" ), 10 ) || 0 ) + 1271 ( parseInt( $( ce ).css( "paddingTop" ), 10 ) || 0 ) - this.margins.top,1271 ( parseInt( $( ce ).css( "paddingTop" ), 10 ) || 0 ) - this.margins.top, 1272 1272 co.left + ( over ? Math.max( ce.scrollWidth, ce.offsetWidth ) : ce.offsetWidth ) - 1273 ( parseInt( $( ce ).css( "borderLeftWidth" ), 10 ) || 0 ) -1274 ( parseInt( $( ce ).css( "paddingRight" ), 10 ) || 0 ) -1275 this.helperProportions.width - this.margins.left,1273 ( parseInt( $( ce ).css( "borderLeftWidth" ), 10 ) || 0 ) - 1274 ( parseInt( $( ce ).css( "paddingRight" ), 10 ) || 0 ) - 1275 this.helperProportions.width - this.margins.left, 1276 1276 co.top + ( over ? Math.max( ce.scrollHeight, ce.offsetHeight ) : ce.offsetHeight ) - 1277 ( parseInt( $( ce ).css( "borderTopWidth" ), 10 ) || 0 ) -1278 ( parseInt( $( ce ).css( "paddingBottom" ), 10 ) || 0 ) -1279 this.helperProportions.height - this.margins.top1277 ( parseInt( $( ce ).css( "borderTopWidth" ), 10 ) || 0 ) - 1278 ( parseInt( $( ce ).css( "paddingBottom" ), 10 ) || 0 ) - 1279 this.helperProportions.height - this.margins.top 1280 1280 ]; 1281 1281 } … … 1290 1290 var mod = d === "absolute" ? 1 : -1, 1291 1291 scroll = this.cssPosition === "absolute" && 1292 !( this.scrollParent[ 0 ] !== this.document[ 0 ] &&1292 !( this.scrollParent[ 0 ] !== this.document[ 0 ] && 1293 1293 $.contains( this.scrollParent[ 0 ], this.offsetParent[ 0 ] ) ) ? 1294 this.offsetParent :1295 this.scrollParent,1294 this.offsetParent : 1295 this.scrollParent, 1296 1296 scrollIsRootNode = ( /(html|body)/i ).test( scroll[ 0 ].tagName ); 1297 1297 … … 1323 1323 ( ( this.cssPosition === "fixed" ? 1324 1324 -this.scrollParent.scrollLeft() : scrollIsRootNode ? 0 : 1325 1325 scroll.scrollLeft() ) * mod ) 1326 1326 ) 1327 1327 }; … … 1336 1336 pageY = event.pageY, 1337 1337 scroll = this.cssPosition === "absolute" && 1338 !( this.scrollParent[ 0 ] !== this.document[ 0 ] &&1338 !( this.scrollParent[ 0 ] !== this.document[ 0 ] && 1339 1339 $.contains( this.scrollParent[ 0 ], this.offsetParent[ 0 ] ) ) ? 1340 this.offsetParent :1341 this.scrollParent,1342 scrollIsRootNode = ( /(html|body)/i ).test( scroll[ 0 ].tagName );1340 this.offsetParent : 1341 this.scrollParent, 1342 scrollIsRootNode = ( /(html|body)/i ).test( scroll[ 0 ].tagName ); 1343 1343 1344 1344 // This is another very weird special case that only happens for relative elements: … … 1347 1347 // we have to refresh the relative offset during the scroll so there are no jumps 1348 1348 if ( this.cssPosition === "relative" && !( this.scrollParent[ 0 ] !== this.document[ 0 ] && 1349 this.scrollParent[ 0 ] !== this.offsetParent[ 0 ] ) ) {1349 this.scrollParent[ 0 ] !== this.offsetParent[ 0 ] ) ) { 1350 1350 this.offset.relative = this._getRelativeOffset(); 1351 1351 } … … 1379 1379 ( ( top - this.offset.click.top >= this.containment[ 1 ] && 1380 1380 top - this.offset.click.top <= this.containment[ 3 ] ) ? 1381 top :1382 ( ( top - this.offset.click.top >= this.containment[ 1 ] ) ?1383 top - o.grid[ 1 ] : top + o.grid[ 1 ] ) ) :1384 top;1381 top : 1382 ( ( top - this.offset.click.top >= this.containment[ 1 ] ) ? 1383 top - o.grid[ 1 ] : top + o.grid[ 1 ] ) ) : 1384 top; 1385 1385 1386 1386 left = this.originalPageX + Math.round( ( pageX - this.originalPageX ) / … … 1389 1389 ( ( left - this.offset.click.left >= this.containment[ 0 ] && 1390 1390 left - this.offset.click.left <= this.containment[ 2 ] ) ? 1391 left :1392 ( ( left - this.offset.click.left >= this.containment[ 0 ] ) ?1393 left - o.grid[ 0 ] : left + o.grid[ 0 ] ) ) :1394 left;1391 left : 1392 ( ( left - this.offset.click.left >= this.containment[ 0 ] ) ? 1393 left - o.grid[ 0 ] : left + o.grid[ 0 ] ) ) : 1394 left; 1395 1395 } 1396 1396 … … 1499 1499 } 1500 1500 if ( ( this.fromOutside || 1501 this.domPosition.prev !==1502 this.currentItem.prev().not( ".ui-sortable-helper" )[ 0 ] ||1503 this.domPosition.parent !== this.currentItem.parent()[ 0 ] ) && !noPropagation ) {1501 this.domPosition.prev !== 1502 this.currentItem.prev().not( ".ui-sortable-helper" )[ 0 ] || 1503 this.domPosition.parent !== this.currentItem.parent()[ 0 ] ) && !noPropagation ) { 1504 1504 1505 1505 // Trigger update callback if the DOM position has changed -
trunk/src/js/_enqueues/vendor/jquery/ui/spinner.js
r52648 r54209 1 1 /*! 2 * jQuery UI Spinner 1.13. 12 * jQuery UI Spinner 1.13.2 3 3 * http://jqueryui.com 4 4 * … … 48 48 49 49 $.widget( "ui.spinner", { 50 version: "1.13. 1",50 version: "1.13.2", 51 51 defaultElement: "<input>", 52 52 widgetEventPrefix: "spin", … … 235 235 .parent() 236 236 237 // Add buttons238 .append(239 "<a></a><a></a>"240 );237 // Add buttons 238 .append( 239 "<a></a><a></a>" 240 ); 241 241 }, 242 242 … … 276 276 // unless the wrapper has an explicit height 277 277 if ( this.buttons.height() > Math.ceil( this.uiSpinner.height() * 0.5 ) && 278 this.uiSpinner.height() > 0 ) {278 this.uiSpinner.height() > 0 ) { 279 279 this.uiSpinner.height( this.uiSpinner.height() ); 280 280 } … … 286 286 287 287 switch ( event.keyCode ) { 288 289 290 291 292 293 294 295 296 297 298 299 288 case keyCode.UP: 289 this._repeat( null, 1, event ); 290 return true; 291 case keyCode.DOWN: 292 this._repeat( null, -1, event ); 293 return true; 294 case keyCode.PAGE_UP: 295 this._repeat( null, options.page, event ); 296 return true; 297 case keyCode.PAGE_DOWN: 298 this._repeat( null, -options.page, event ); 299 return true; 300 300 } 301 301 … … 562 562 .parent() 563 563 564 // Add buttons565 .append( this._buttonHtml() );564 // Add buttons 565 .append( this._buttonHtml() ); 566 566 }, 567 567 _uiSpinnerHtml: function() { -
trunk/src/js/_enqueues/vendor/jquery/ui/tabs.js
r52648 r54209 1 1 /*! 2 * jQuery UI Tabs 1.13. 12 * jQuery UI Tabs 1.13.2 3 3 * http://jqueryui.com 4 4 * … … 36 36 37 37 $.widget( "ui.tabs", { 38 version: "1.13. 1",38 version: "1.13.2", 39 39 delay: 300, 40 40 options: { … … 177 177 178 178 switch ( event.keyCode ) { 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 179 case $.ui.keyCode.RIGHT: 180 case $.ui.keyCode.DOWN: 181 selectedIndex++; 182 break; 183 case $.ui.keyCode.UP: 184 case $.ui.keyCode.LEFT: 185 goingForward = false; 186 selectedIndex--; 187 break; 188 case $.ui.keyCode.END: 189 selectedIndex = this.anchors.length - 1; 190 break; 191 case $.ui.keyCode.HOME: 192 selectedIndex = 0; 193 break; 194 case $.ui.keyCode.SPACE: 195 196 // Activate only, no collapsing 197 event.preventDefault(); 198 clearTimeout( this.activating ); 199 this._activate( selectedIndex ); 200 return; 201 case $.ui.keyCode.ENTER: 202 203 // Toggle (cancel delayed activation, allow collapsing) 204 event.preventDefault(); 205 clearTimeout( this.activating ); 206 207 // Determine if we should collapse or activate 208 this._activate( selectedIndex === this.options.active ? false : selectedIndex ); 209 return; 210 default: 211 return; 212 212 } 213 213 … … 331 331 this.active = $(); 332 332 333 333 // was active, but active tab is gone 334 334 } else if ( this.active.length && !$.contains( this.tablist[ 0 ], this.active[ 0 ] ) ) { 335 335 … … 339 339 this.active = $(); 340 340 341 341 // activate previous tab 342 342 } else { 343 343 this._activate( this._findNextTab( Math.max( 0, options.active - 1 ), false ) ); 344 344 } 345 345 346 346 // was active, active tab still exists 347 347 } else { 348 348 … … 448 448 panel = that.element.find( that._sanitizeSelector( selector ) ); 449 449 450 450 // remote tab 451 451 } else { 452 452 … … 606 606 if ( tab.hasClass( "ui-state-disabled" ) || 607 607 608 // tab is already loading609 tab.hasClass( "ui-tabs-loading" ) ||610 611 // can't switch durning an animation612 this.running ||613 614 // click on active header, but not collapsible615 ( clickedIsActive && !options.collapsible ) ||616 617 // allow canceling activation618 ( this._trigger( "beforeActivate", event, eventData ) === false ) ) {608 // tab is already loading 609 tab.hasClass( "ui-tabs-loading" ) || 610 611 // can't switch durning an animation 612 this.running || 613 614 // click on active header, but not collapsible 615 ( clickedIsActive && !options.collapsible ) || 616 617 // allow canceling activation 618 ( this._trigger( "beforeActivate", event, eventData ) === false ) ) { 619 619 return; 620 620 } -
trunk/src/js/_enqueues/vendor/jquery/ui/tooltip.js
r52648 r54209 1 1 /*! 2 * jQuery UI Tooltip 1.13. 12 * jQuery UI Tooltip 1.13.2 3 3 * http://jqueryui.com 4 4 * … … 36 36 37 37 $.widget( "ui.tooltip", { 38 version: "1.13. 1",38 version: "1.13.2", 39 39 options: { 40 40 classes: { … … 218 218 219 219 if ( typeof contentOption === "string" || contentOption.nodeType || 220 contentOption.jquery ) {220 contentOption.jquery ) { 221 221 return this._open( event, target, contentOption ); 222 222 } -
trunk/src/wp-includes/script-loader.php
r54204 r54209 814 814 // the source files were flattened and included with some modifications for AMD loading. 815 815 // A notable change is that 'jquery-ui-core' now contains 'jquery-ui-position' and 'jquery-ui-widget'. 816 $scripts->add( 'jquery-ui-core', "/wp-includes/js/jquery/ui/core$suffix.js", array( 'jquery' ), '1.13. 1', 1 );817 $scripts->add( 'jquery-effects-core', "/wp-includes/js/jquery/ui/effect$suffix.js", array( 'jquery' ), '1.13. 1', 1 );818 819 $scripts->add( 'jquery-effects-blind', "/wp-includes/js/jquery/ui/effect-blind$suffix.js", array( 'jquery-effects-core' ), '1.13. 1', 1 );820 $scripts->add( 'jquery-effects-bounce', "/wp-includes/js/jquery/ui/effect-bounce$suffix.js", array( 'jquery-effects-core' ), '1.13. 1', 1 );821 $scripts->add( 'jquery-effects-clip', "/wp-includes/js/jquery/ui/effect-clip$suffix.js", array( 'jquery-effects-core' ), '1.13. 1', 1 );822 $scripts->add( 'jquery-effects-drop', "/wp-includes/js/jquery/ui/effect-drop$suffix.js", array( 'jquery-effects-core' ), '1.13. 1', 1 );823 $scripts->add( 'jquery-effects-explode', "/wp-includes/js/jquery/ui/effect-explode$suffix.js", array( 'jquery-effects-core' ), '1.13. 1', 1 );824 $scripts->add( 'jquery-effects-fade', "/wp-includes/js/jquery/ui/effect-fade$suffix.js", array( 'jquery-effects-core' ), '1.13. 1', 1 );825 $scripts->add( 'jquery-effects-fold', "/wp-includes/js/jquery/ui/effect-fold$suffix.js", array( 'jquery-effects-core' ), '1.13. 1', 1 );826 $scripts->add( 'jquery-effects-highlight', "/wp-includes/js/jquery/ui/effect-highlight$suffix.js", array( 'jquery-effects-core' ), '1.13. 1', 1 );827 $scripts->add( 'jquery-effects-puff', "/wp-includes/js/jquery/ui/effect-puff$suffix.js", array( 'jquery-effects-core', 'jquery-effects-scale' ), '1.13. 1', 1 );828 $scripts->add( 'jquery-effects-pulsate', "/wp-includes/js/jquery/ui/effect-pulsate$suffix.js", array( 'jquery-effects-core' ), '1.13. 1', 1 );829 $scripts->add( 'jquery-effects-scale', "/wp-includes/js/jquery/ui/effect-scale$suffix.js", array( 'jquery-effects-core', 'jquery-effects-size' ), '1.13. 1', 1 );830 $scripts->add( 'jquery-effects-shake', "/wp-includes/js/jquery/ui/effect-shake$suffix.js", array( 'jquery-effects-core' ), '1.13. 1', 1 );831 $scripts->add( 'jquery-effects-size', "/wp-includes/js/jquery/ui/effect-size$suffix.js", array( 'jquery-effects-core' ), '1.13. 1', 1 );832 $scripts->add( 'jquery-effects-slide', "/wp-includes/js/jquery/ui/effect-slide$suffix.js", array( 'jquery-effects-core' ), '1.13. 1', 1 );833 $scripts->add( 'jquery-effects-transfer', "/wp-includes/js/jquery/ui/effect-transfer$suffix.js", array( 'jquery-effects-core' ), '1.13. 1', 1 );816 $scripts->add( 'jquery-ui-core', "/wp-includes/js/jquery/ui/core$suffix.js", array( 'jquery' ), '1.13.2', 1 ); 817 $scripts->add( 'jquery-effects-core', "/wp-includes/js/jquery/ui/effect$suffix.js", array( 'jquery' ), '1.13.2', 1 ); 818 819 $scripts->add( 'jquery-effects-blind', "/wp-includes/js/jquery/ui/effect-blind$suffix.js", array( 'jquery-effects-core' ), '1.13.2', 1 ); 820 $scripts->add( 'jquery-effects-bounce', "/wp-includes/js/jquery/ui/effect-bounce$suffix.js", array( 'jquery-effects-core' ), '1.13.2', 1 ); 821 $scripts->add( 'jquery-effects-clip', "/wp-includes/js/jquery/ui/effect-clip$suffix.js", array( 'jquery-effects-core' ), '1.13.2', 1 ); 822 $scripts->add( 'jquery-effects-drop', "/wp-includes/js/jquery/ui/effect-drop$suffix.js", array( 'jquery-effects-core' ), '1.13.2', 1 ); 823 $scripts->add( 'jquery-effects-explode', "/wp-includes/js/jquery/ui/effect-explode$suffix.js", array( 'jquery-effects-core' ), '1.13.2', 1 ); 824 $scripts->add( 'jquery-effects-fade', "/wp-includes/js/jquery/ui/effect-fade$suffix.js", array( 'jquery-effects-core' ), '1.13.2', 1 ); 825 $scripts->add( 'jquery-effects-fold', "/wp-includes/js/jquery/ui/effect-fold$suffix.js", array( 'jquery-effects-core' ), '1.13.2', 1 ); 826 $scripts->add( 'jquery-effects-highlight', "/wp-includes/js/jquery/ui/effect-highlight$suffix.js", array( 'jquery-effects-core' ), '1.13.2', 1 ); 827 $scripts->add( 'jquery-effects-puff', "/wp-includes/js/jquery/ui/effect-puff$suffix.js", array( 'jquery-effects-core', 'jquery-effects-scale' ), '1.13.2', 1 ); 828 $scripts->add( 'jquery-effects-pulsate', "/wp-includes/js/jquery/ui/effect-pulsate$suffix.js", array( 'jquery-effects-core' ), '1.13.2', 1 ); 829 $scripts->add( 'jquery-effects-scale', "/wp-includes/js/jquery/ui/effect-scale$suffix.js", array( 'jquery-effects-core', 'jquery-effects-size' ), '1.13.2', 1 ); 830 $scripts->add( 'jquery-effects-shake', "/wp-includes/js/jquery/ui/effect-shake$suffix.js", array( 'jquery-effects-core' ), '1.13.2', 1 ); 831 $scripts->add( 'jquery-effects-size', "/wp-includes/js/jquery/ui/effect-size$suffix.js", array( 'jquery-effects-core' ), '1.13.2', 1 ); 832 $scripts->add( 'jquery-effects-slide', "/wp-includes/js/jquery/ui/effect-slide$suffix.js", array( 'jquery-effects-core' ), '1.13.2', 1 ); 833 $scripts->add( 'jquery-effects-transfer', "/wp-includes/js/jquery/ui/effect-transfer$suffix.js", array( 'jquery-effects-core' ), '1.13.2', 1 ); 834 834 835 835 // Widgets 836 $scripts->add( 'jquery-ui-accordion', "/wp-includes/js/jquery/ui/accordion$suffix.js", array( 'jquery-ui-core' ), '1.13. 1', 1 );837 $scripts->add( 'jquery-ui-autocomplete', "/wp-includes/js/jquery/ui/autocomplete$suffix.js", array( 'jquery-ui-menu', 'wp-a11y' ), '1.13. 1', 1 );838 $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. 1', 1 );839 $scripts->add( 'jquery-ui-datepicker', "/wp-includes/js/jquery/ui/datepicker$suffix.js", array( 'jquery-ui-core' ), '1.13. 1', 1 );840 $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. 1', 1 );841 $scripts->add( 'jquery-ui-menu', "/wp-includes/js/jquery/ui/menu$suffix.js", array( 'jquery-ui-core' ), '1.13. 1', 1 );842 $scripts->add( 'jquery-ui-mouse', "/wp-includes/js/jquery/ui/mouse$suffix.js", array( 'jquery-ui-core' ), '1.13. 1', 1 );843 $scripts->add( 'jquery-ui-progressbar', "/wp-includes/js/jquery/ui/progressbar$suffix.js", array( 'jquery-ui-core' ), '1.13. 1', 1 );844 $scripts->add( 'jquery-ui-selectmenu', "/wp-includes/js/jquery/ui/selectmenu$suffix.js", array( 'jquery-ui-menu' ), '1.13. 1', 1 );845 $scripts->add( 'jquery-ui-slider', "/wp-includes/js/jquery/ui/slider$suffix.js", array( 'jquery-ui-mouse' ), '1.13. 1', 1 );846 $scripts->add( 'jquery-ui-spinner', "/wp-includes/js/jquery/ui/spinner$suffix.js", array( 'jquery-ui-button' ), '1.13. 1', 1 );847 $scripts->add( 'jquery-ui-tabs', "/wp-includes/js/jquery/ui/tabs$suffix.js", array( 'jquery-ui-core' ), '1.13. 1', 1 );848 $scripts->add( 'jquery-ui-tooltip', "/wp-includes/js/jquery/ui/tooltip$suffix.js", array( 'jquery-ui-core' ), '1.13. 1', 1 );836 $scripts->add( 'jquery-ui-accordion', "/wp-includes/js/jquery/ui/accordion$suffix.js", array( 'jquery-ui-core' ), '1.13.2', 1 ); 837 $scripts->add( 'jquery-ui-autocomplete', "/wp-includes/js/jquery/ui/autocomplete$suffix.js", array( 'jquery-ui-menu', 'wp-a11y' ), '1.13.2', 1 ); 838 $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.2', 1 ); 839 $scripts->add( 'jquery-ui-datepicker', "/wp-includes/js/jquery/ui/datepicker$suffix.js", array( 'jquery-ui-core' ), '1.13.2', 1 ); 840 $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.2', 1 ); 841 $scripts->add( 'jquery-ui-menu', "/wp-includes/js/jquery/ui/menu$suffix.js", array( 'jquery-ui-core' ), '1.13.2', 1 ); 842 $scripts->add( 'jquery-ui-mouse', "/wp-includes/js/jquery/ui/mouse$suffix.js", array( 'jquery-ui-core' ), '1.13.2', 1 ); 843 $scripts->add( 'jquery-ui-progressbar', "/wp-includes/js/jquery/ui/progressbar$suffix.js", array( 'jquery-ui-core' ), '1.13.2', 1 ); 844 $scripts->add( 'jquery-ui-selectmenu', "/wp-includes/js/jquery/ui/selectmenu$suffix.js", array( 'jquery-ui-menu' ), '1.13.2', 1 ); 845 $scripts->add( 'jquery-ui-slider', "/wp-includes/js/jquery/ui/slider$suffix.js", array( 'jquery-ui-mouse' ), '1.13.2', 1 ); 846 $scripts->add( 'jquery-ui-spinner', "/wp-includes/js/jquery/ui/spinner$suffix.js", array( 'jquery-ui-button' ), '1.13.2', 1 ); 847 $scripts->add( 'jquery-ui-tabs', "/wp-includes/js/jquery/ui/tabs$suffix.js", array( 'jquery-ui-core' ), '1.13.2', 1 ); 848 $scripts->add( 'jquery-ui-tooltip', "/wp-includes/js/jquery/ui/tooltip$suffix.js", array( 'jquery-ui-core' ), '1.13.2', 1 ); 849 849 850 850 // New in 1.12.1 851 $scripts->add( 'jquery-ui-checkboxradio', "/wp-includes/js/jquery/ui/checkboxradio$suffix.js", array( 'jquery-ui-core' ), '1.13. 1', 1 );852 $scripts->add( 'jquery-ui-controlgroup', "/wp-includes/js/jquery/ui/controlgroup$suffix.js", array( 'jquery-ui-core' ), '1.13. 1', 1 );851 $scripts->add( 'jquery-ui-checkboxradio', "/wp-includes/js/jquery/ui/checkboxradio$suffix.js", array( 'jquery-ui-core' ), '1.13.2', 1 ); 852 $scripts->add( 'jquery-ui-controlgroup', "/wp-includes/js/jquery/ui/controlgroup$suffix.js", array( 'jquery-ui-core' ), '1.13.2', 1 ); 853 853 854 854 // Interactions 855 $scripts->add( 'jquery-ui-draggable', "/wp-includes/js/jquery/ui/draggable$suffix.js", array( 'jquery-ui-mouse' ), '1.13. 1', 1 );856 $scripts->add( 'jquery-ui-droppable', "/wp-includes/js/jquery/ui/droppable$suffix.js", array( 'jquery-ui-draggable' ), '1.13. 1', 1 );857 $scripts->add( 'jquery-ui-resizable', "/wp-includes/js/jquery/ui/resizable$suffix.js", array( 'jquery-ui-mouse' ), '1.13. 1', 1 );858 $scripts->add( 'jquery-ui-selectable', "/wp-includes/js/jquery/ui/selectable$suffix.js", array( 'jquery-ui-mouse' ), '1.13. 1', 1 );859 $scripts->add( 'jquery-ui-sortable', "/wp-includes/js/jquery/ui/sortable$suffix.js", array( 'jquery-ui-mouse' ), '1.13. 1', 1 );855 $scripts->add( 'jquery-ui-draggable', "/wp-includes/js/jquery/ui/draggable$suffix.js", array( 'jquery-ui-mouse' ), '1.13.2', 1 ); 856 $scripts->add( 'jquery-ui-droppable', "/wp-includes/js/jquery/ui/droppable$suffix.js", array( 'jquery-ui-draggable' ), '1.13.2', 1 ); 857 $scripts->add( 'jquery-ui-resizable', "/wp-includes/js/jquery/ui/resizable$suffix.js", array( 'jquery-ui-mouse' ), '1.13.2', 1 ); 858 $scripts->add( 'jquery-ui-selectable', "/wp-includes/js/jquery/ui/selectable$suffix.js", array( 'jquery-ui-mouse' ), '1.13.2', 1 ); 859 $scripts->add( 'jquery-ui-sortable', "/wp-includes/js/jquery/ui/sortable$suffix.js", array( 'jquery-ui-mouse' ), '1.13.2', 1 ); 860 860 861 861 // As of 1.12.1 `jquery-ui-position` and `jquery-ui-widget` are part of `jquery-ui-core`. 862 862 // Listed here for back-compat. 863 $scripts->add( 'jquery-ui-position', false, array( 'jquery-ui-core' ), '1.13. 1', 1 );864 $scripts->add( 'jquery-ui-widget', false, array( 'jquery-ui-core' ), '1.13. 1', 1 );863 $scripts->add( 'jquery-ui-position', false, array( 'jquery-ui-core' ), '1.13.2', 1 ); 864 $scripts->add( 'jquery-ui-widget', false, array( 'jquery-ui-core' ), '1.13.2', 1 ); 865 865 866 866 // Strings for 'jquery-ui-autocomplete' live region messages.
Note: See TracChangeset
for help on using the changeset viewer.